gcc_32.yml 1013 字节
Newer Older
1 2
compiler:
  path: gcc
3 4
  source_path:     '../src/'
  unit_tests_path: &unit_tests_path 'tests/'
5 6
  build_path:      &build_path 'build/'
  options:
7
    - '-c'
8
    - '-m32'
9
    - '-Wall'
10
    - '-Wno-address'
11 12
    - '-std=c99'
    - '-pedantic'
13 14 15 16
  includes:
    prefix: '-I'
    items:
      - 'src/'
17
      - '../src/'
18 19 20 21
      - *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
M
mvandervoord 已提交
26
      - UNITY_INCLUDE_DOUBLE
27
      - UNITY_SUPPORT_TEST_CASES
28 29
      - UNITY_INT_WIDTH=32
      - UNITY_LONG_WIDTH=32
30 31 32 33 34 35 36 37
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: gcc
  options:
    - -lm
38
    - '-m32'
39 40 41 42 43 44 45 46
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
47
    destination: *build_path
48 49
colour: true
:unity:
50
  :plugins: []