target_gcc_32.yml 912 字节
Newer Older
W
Warwick Stone 已提交
1 2
# Copied from ~Unity/targets/gcc_32.yml
unity_root:  &unity_root '../..'
3
unity_source: &unity_source '../../src'
W
Warwick Stone 已提交
4 5
compiler:
  path: gcc
K
Kyle Krueger 已提交
6
  source_path:     &source_path 'src/'
W
Warwick Stone 已提交
7 8 9 10 11 12 13 14 15 16 17 18
  unit_tests_path: &unit_tests_path 'test/'
  build_path:      &build_path 'build/'
  options:
    - '-c'
    - '-m32'
    - '-Wall'
    - '-Wno-address'
    - '-std=c99'
    - '-pedantic'
  includes:
    prefix: '-I'
    items:
K
Kyle Krueger 已提交
19 20
      - *source_path
      - *unity_source
W
Warwick Stone 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
      - *unit_tests_path
  defines:
    prefix: '-D'
    items:
      - UNITY_INCLUDE_DOUBLE
      - UNITY_SUPPORT_TEST_CASES
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: gcc
  options:
    - -lm
    - '-m32'
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
    destination: *build_path
colour: true
:unity:
  :plugins: []