gcc_32.yml 914 字节
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:
22 23 24
      - UNITY_EXCLUDE_STDINT_H
      - UNITY_EXCLUDE_LIMITS_H
      - UNITY_EXCLUDE_SIZEOF
M
mvandervoord 已提交
25
      - UNITY_INCLUDE_DOUBLE
26
      - UNITY_SUPPORT_TEST_CASES
27 28 29 30 31 32 33 34
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: gcc
  options:
    - -lm
35
    - '-m32'
36 37 38 39 40 41 42 43
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
44
    destination: *build_path
45 46
colour: true
:unity:
47
  :plugins: []