| 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 | - '-m64' |
| 11 | - '-Wall' |
| 12 | - '-Wunused-parameter' |
| 13 | - '-Wno-address' |
| 14 | - '-Wno-invalid-token-paste' |
| 15 | - '-std=c99' |
| 16 | - '-pedantic' |
| 17 | includes: |
| 18 | prefix: '-I' |
| 19 | items: |
| 20 | - *systest_generated_path |
| 21 | - *unit_tests_path |
| 22 | - *systest_mocks_path |
| 23 | - '../src/' |
| 24 | - '../vendor/unity/src/' |
| 25 | - '../vendor/c_exception/lib/' |
| 26 | - './system/test_compilation/' |
| 27 | - './' |
| 28 | defines: |
| 29 | prefix: '-D' |
| 30 | items: |
| 31 | - CMOCK |
| 32 | - 'UNITY_SUPPORT_64' |
| 33 | - 'UNITY_POINTER_WIDTH=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 | - '-m64' |
| 44 | includes: |
| 45 | prefix: '-I' |
| 46 | object_files: |
| 47 | path: *systest_build_path |
| 48 | extension: '.o' |
| 49 | bin_files: |
| 50 | prefix: '-o' |
| 51 | extension: '.exe' |
| 52 | destination: *systest_build_path |
| 53 | |
| 54 | unsupported: |
| 55 | - out_of_memory |
| 56 | - callingconv |
| 57 | |
| 58 | colour: true |