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