mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Merge commit '6b9b57be226a505a9c9cdd9ed029f22495ce04ec' as 'tests/unity'
This commit is contained in:
59
tests/unity/test/targets/gcc_auto_stdint.yml
Normal file
59
tests/unity/test/targets/gcc_auto_stdint.yml
Normal file
@ -0,0 +1,59 @@
|
||||
compiler:
|
||||
path: gcc
|
||||
source_path: '../src/'
|
||||
unit_tests_path: &unit_tests_path 'tests/'
|
||||
build_path: &build_path 'build/'
|
||||
options:
|
||||
- '-c'
|
||||
- '-m64'
|
||||
- '-Wall'
|
||||
- '-Wno-address'
|
||||
- '-std=c99'
|
||||
- '-pedantic'
|
||||
- '-Wextra'
|
||||
- '-Werror'
|
||||
- '-Wpointer-arith'
|
||||
- '-Wcast-align'
|
||||
- '-Wwrite-strings'
|
||||
- '-Wswitch-default'
|
||||
- '-Wunreachable-code'
|
||||
- '-Winit-self'
|
||||
- '-Wmissing-field-initializers'
|
||||
- '-Wno-unknown-pragmas'
|
||||
- '-Wstrict-prototypes'
|
||||
- '-Wundef'
|
||||
- '-Wold-style-definition'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
items:
|
||||
- 'src/'
|
||||
- '../src/'
|
||||
- 'testdata/'
|
||||
- *unit_tests_path
|
||||
defines:
|
||||
prefix: '-D'
|
||||
items:
|
||||
- UNITY_INCLUDE_DOUBLE
|
||||
- UNITY_SUPPORT_TEST_CASES
|
||||
- UNITY_SUPPORT_64
|
||||
object_files:
|
||||
prefix: '-o'
|
||||
extension: '.o'
|
||||
destination: *build_path
|
||||
linker:
|
||||
path: gcc
|
||||
options:
|
||||
- -lm
|
||||
- '-m64'
|
||||
includes:
|
||||
prefix: '-I'
|
||||
object_files:
|
||||
path: *build_path
|
||||
extension: '.o'
|
||||
bin_files:
|
||||
prefix: '-o'
|
||||
extension: '.exe'
|
||||
destination: *build_path
|
||||
colour: true
|
||||
:unity:
|
||||
:plugins: []
|
Reference in New Issue
Block a user