-
Notifications
You must be signed in to change notification settings - Fork 0
/
project_x86.yml
49 lines (46 loc) · 1.11 KB
/
project_x86.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
:project:
:use_exceptions: FALSE
:use_mocks: TRUE
:use_test_preprocessor: TRUE
:use_preprocessor_directives: FALSE
:use_auxiliary_dependencies: TRUE
:auto_link_deep_dependencies: TRUE
:build_root: build
:release_build: TRUE
:test_file_prefix: test_
:which_ceedling: vendor/ceedling
:ceedling_version: 0.30.0
:options_paths:
- options/
:default_tasks:
- test:all
:release_build:
:output: project_name.exe
:files:
:source:
- +:src/main.c
:defines:
# in order to add common defines:
# 1) remove the trailing [] from the :common: section
# 2) add entries to the :common: section (e.g. :test: has TEST defined)
# :common: &common_defines []
:common: &common_defines
:test:
- *common_defines
- TEST
:test_preprocess:
- *common_defines
- TEST
:tools:
:release_compiler:
:executable: gcc
:name: "release compiler"
:arguments:
- -g
- -c ${1}
- -D$: COLLECTION_DEFINES_RELEASE_AND_VENDOR
- -I$: COLLECTION_PATHS_SOURCE_INCLUDE_VENDOR
- -I$: COLLECTION_PATHS_RELEASE_TOOLCHAIN_INCLUDE
- -o ${2}
- -std=c99