summaryrefslogtreecommitdiff
path: root/lab_6/unity/test/targets/gcc_auto_stdint.yml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-26 10:24:00 -0800
committerFuwn <[email protected]>2026-02-26 10:31:15 -0800
commita14f361a60f55299e0057c419cc59e5194a77854 (patch)
treeedf54089f5849ee4dfdac48bd04bd8c271cfb62a /lab_6/unity/test/targets/gcc_auto_stdint.yml
parentfeat(homework_2): Add implementation (diff)
downloadcst456-a14f361a60f55299e0057c419cc59e5194a77854.tar.xz
cst456-a14f361a60f55299e0057c419cc59e5194a77854.zip
feat(lab_6): Add initial files
Diffstat (limited to 'lab_6/unity/test/targets/gcc_auto_stdint.yml')
-rw-r--r--lab_6/unity/test/targets/gcc_auto_stdint.yml61
1 files changed, 61 insertions, 0 deletions
diff --git a/lab_6/unity/test/targets/gcc_auto_stdint.yml b/lab_6/unity/test/targets/gcc_auto_stdint.yml
new file mode 100644
index 0000000..4e642c1
--- /dev/null
+++ b/lab_6/unity/test/targets/gcc_auto_stdint.yml
@@ -0,0 +1,61 @@
+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'
+ - '-Wlogical-op'
+ - '-Wmissing-field-initializers'
+ - '-Wno-unknown-pragmas'
+ - '-Wjump-misses-init'
+ - '-Wstrict-prototypes'
+ - '-Wundef'
+ - '-Wunsafe-loop-optimizations'
+ - '-Wold-style-definition'
+ includes:
+ prefix: '-I'
+ items:
+ - 'src/'
+ - '../src/'
+ - *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: []