| 1 |
--- |
| 2 |
compiler: |
| 3 |
path: clang |
| 4 |
source_path: &systest_generated_path './system/generated/' |
| 5 |
unit_tests_path: &unit_tests_path '../examples/test/' |
| 6 |
mocks_path: &systest_mocks_path './system/generated/' |
| 7 |
build_path: &systest_build_path './system/build/' |
| 8 |
options: |
| 9 |
- '-c' |
| 10 |
- '-Wall' |
| 11 |
- '-Wextra' |
| 12 |
- '-Werror' |
| 13 |
|
| 14 |
- '-Wconversion' |
| 15 |
- '-Wtautological-compare' |
| 16 |
|
| 17 |
- '-Wdisabled-optimization' |
| 18 |
- '-Wformat=2' |
| 19 |
- '-Winit-self' |
| 20 |
- '-Winline' |
| 21 |
- '-Winvalid-pch' |
| 22 |
- '-Wmissing-declarations' |
| 23 |
- '-Wmissing-include-dirs' |
| 24 |
- '-Wmissing-prototypes' |
| 25 |
- '-Wnonnull' |
| 26 |
- '-Wpacked' |
| 27 |
- '-Wpointer-arith' |
| 28 |
- '-Wredundant-decls' |
| 29 |
- '-Wswitch-default' |
| 30 |
- '-Wstrict-aliasing=2' |
| 31 |
- '-Wstrict-overflow=5' |
| 32 |
- '-Wuninitialized' |
| 33 |
- '-Wunused' |
| 34 |
- '-Wunreachable-code' |
| 35 |
- '-Wreturn-type' |
| 36 |
- '-Wshadow' |
| 37 |
- '-Wundef' |
| 38 |
- '-Wwrite-strings' |
| 39 |
- '-Wbad-function-cast' |
| 40 |
- '-Wno-missing-prototypes' |
| 41 |
- '-Wno-invalid-token-paste' |
| 42 |
- '-fms-extensions' |
| 43 |
- '-fno-omit-frame-pointer' |
| 44 |
|
| 45 |
- '-fno-common' |
| 46 |
- '-fstrict-aliasing' |
| 47 |
- '-std=gnu99' |
| 48 |
- '-pedantic' |
| 49 |
- '-O0' |
| 50 |
includes: |
| 51 |
prefix: '-I' |
| 52 |
items: |
| 53 |
- *systest_generated_path |
| 54 |
- *unit_tests_path |
| 55 |
- *systest_mocks_path |
| 56 |
- '../src/' |
| 57 |
- '../vendor/unity/src/' |
| 58 |
- '../vendor/c_exception/lib/' |
| 59 |
- './system/test_compilation/' |
| 60 |
- './' |
| 61 |
defines: |
| 62 |
prefix: '-D' |
| 63 |
items: |
| 64 |
- CMOCK |
| 65 |
- 'UNITY_SUPPORT_64' |
| 66 |
- 'UNITY_POINTER_WIDTH=64' |
| 67 |
object_files: |
| 68 |
prefix: '-o' |
| 69 |
extension: '.o' |
| 70 |
destination: *systest_build_path |
| 71 |
|
| 72 |
linker: |
| 73 |
path: gcc |
| 74 |
options: |
| 75 |
- -lm |
| 76 |
includes: |
| 77 |
prefix: '-I' |
| 78 |
object_files: |
| 79 |
path: *systest_build_path |
| 80 |
extension: '.o' |
| 81 |
bin_files: |
| 82 |
prefix: '-o' |
| 83 |
extension: '.exe' |
| 84 |
destination: *systest_build_path |
| 85 |
|
| 86 |
unsupported: |
| 87 |
- out_of_memory |
| 88 |
- callingconv |
| 89 |
|
| 90 |
colour: true |