gcc_64.yml 1.0 KB
Newer Older
A
Alexander Klauer 已提交
1 2
compiler:
  path: gcc
3 4
  source_path:     '../src/'
  unit_tests_path: &unit_tests_path 'tests/'
A
Alexander Klauer 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
  build_path:      &build_path 'build/'
  options:
    - '-c'
    - '-m64'
    - '-Wall'
    - '-Wno-address'
    - '-std=c99'
    - '-pedantic'
  includes:
    prefix: '-I'
    items:
      - 'src/'
      - '../src/'
      - *unit_tests_path
  defines:
    prefix: '-D'
    items:
22
      - UNITY_OUTPUT_CHAR=putcharSpy
23 24 25
      - UNITY_EXCLUDE_STDINT_H
      - UNITY_EXCLUDE_LIMITS_H
      - UNITY_EXCLUDE_SIZEOF
A
Alexander Klauer 已提交
26 27 28
      - UNITY_INCLUDE_DOUBLE
      - UNITY_SUPPORT_TEST_CASES
      - UNITY_SUPPORT_64
29 30
      - UNITY_INT_WIDTH=32
      - UNITY_LONG_WIDTH=64
A
Alexander Klauer 已提交
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: gcc
  options:
    - -lm
    - '-m64'
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
    destination: *build_path
colour: true
:unity:
  :plugins: []