gcc_32.yml 820 字节
Newer Older
1 2 3 4 5 6
compiler:
  path: gcc
  source_path:     'src/'
  unit_tests_path: &unit_tests_path 'test/'
  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:
M
mvandervoord 已提交
22
      - UNITY_INCLUDE_DOUBLE
23
      - UNITY_SUPPORT_TEST_CASES
24 25 26 27 28 29 30 31
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: gcc
  options:
    - -lm
32
    - '-m32'
33 34 35 36 37 38 39 40
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
41
    destination: *build_path
42 43
colour: true
:unity:
44
  :plugins: []