• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2compiler:
3  path: clang
4  source_path:     '../src/'
5  unit_tests_path: &unit_tests_path 'tests/'
6  build_path:      &build_path 'build/'
7  options:
8    - '-c'
9    - '-Wall'
10    - '-Wextra'
11    - '-Werror'
12    - '-Wcast-qual'
13    - '-Wconversion'
14    - '-Wdisabled-optimization'
15    - '-Wformat=2'
16    - '-Winit-self'
17    - '-Winline'
18    - '-Winvalid-pch'
19    - '-Wmissing-include-dirs'
20    - '-Wnonnull'
21    - '-Wpacked'
22    - '-Wpointer-arith'
23    - '-Wswitch-default'
24    - '-Wstrict-aliasing'
25    - '-Wstrict-overflow=5'
26    - '-Wuninitialized'
27    - '-Wunused'
28#   - '-Wunreachable-code'
29    - '-Wreturn-type'
30    - '-Wshadow'
31    - '-Wundef'
32    - '-Wwrite-strings'
33    - '-Wno-nested-externs'
34    - '-Wno-unused-parameter'
35    - '-Wno-variadic-macros'
36    - '-Wbad-function-cast'
37    - '-fms-extensions'
38    - '-fno-omit-frame-pointer'
39    #- '-ffloat-store'
40    - '-fno-common'
41    - '-fstrict-aliasing'
42    - '-std=gnu99'
43    - '-pedantic'
44    - '-O0'
45  includes:
46    prefix: '-I'
47    items:
48      - 'src/'
49      - '../src/'
50      - 'testdata/'
51      - *unit_tests_path
52  defines:
53    prefix: '-D'
54    items:
55      - UNITY_INCLUDE_DOUBLE
56      - UNITY_SUPPORT_TEST_CASES
57      - UNITY_SUPPORT_64
58  object_files:
59    prefix: '-o'
60    extension: '.o'
61    destination: *build_path
62linker:
63  path: clang
64  options:
65    - -lm
66    - '-m64'
67  includes:
68    prefix: '-I'
69  object_files:
70    path: *build_path
71    extension: '.o'
72  bin_files:
73    prefix: '-o'
74    extension: '.exe'
75    destination: *build_path
76colour: true
77:unity:
78  :plugins: []
79