| 1 | --- |
| 2 | compiler: |
| 3 | path: gcc |
| 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 | - '-Wunused-parameter' |
| 13 | - '-Wno-address' |
| 14 | - '-Wno-invalid-token-paste' |
| 15 | - '-std=c99' |
| 16 | - '-pedantic' |
| 17 | - '-O0' |
| 18 | includes: |
| 19 | prefix: '-I' |
| 20 | items: |
| 21 | - *systest_generated_path |
| 22 | - *unit_tests_path |
| 23 | - *systest_mocks_path |
| 24 | - '../src/' |
| 25 | - '../vendor/unity/src/' |
| 26 | - '../vendor/c_exception/lib/' |
| 27 | - './system/test_compilation/' |
| 28 | - './' |
| 29 | defines: |
| 30 | prefix: '-D' |
| 31 | items: |
| 32 | - CMOCK |
| 33 | - 'UNITY_SUPPORT_64' |
| 34 | object_files: |
| 35 | prefix: '-o' |
| 36 | extension: '.o' |
| 37 | destination: *systest_build_path |
| 38 | |
| 39 | linker: |
| 40 | path: gcc |
| 41 | options: |
| 42 | - -lm |
| 43 | includes: |
| 44 | prefix: '-I' |
| 45 | object_files: |
| 46 | path: *systest_build_path |
| 47 | extension: '.o' |
| 48 | bin_files: |
| 49 | prefix: '-o' |
| 50 | extension: '.exe' |
| 51 | destination: *systest_build_path |
| 52 | |
| 53 | unsupported: |
| 54 | - out_of_memory |
| 55 | - unity_64bit_support |
| 56 | - callingconv |
| 57 | |
| 58 | colour: true |