mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-06-05 21:15:22 +00:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
# =========================================================================
|
|
# Unity - A Test Framework for C
|
|
# ThrowTheSwitch.org
|
|
# Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
|
# SPDX-License-Identifier: MIT
|
|
# =========================================================================
|
|
|
|
---
|
|
:tools:
|
|
:test_compiler:
|
|
:name: compiler
|
|
:executable: gcc
|
|
:arguments:
|
|
- "-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"
|
|
- '-I"${5}"'
|
|
- "-D${6}"
|
|
- "${1}"
|
|
- "-o ${2}"
|
|
:test_linker:
|
|
:name: linker
|
|
:executable: gcc
|
|
:arguments:
|
|
- "${1}"
|
|
- "-lm"
|
|
- "-m64"
|
|
- "-o ${2}"
|
|
:extension:
|
|
:object: ".o"
|
|
:executable: ".exe"
|
|
:defines:
|
|
:test:
|
|
- UNITY_INCLUDE_DOUBLE
|
|
- UNITY_SUPPORT_TEST_CASES
|
|
- UNITY_SUPPORT_64
|