Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
31144f85af7ff72c177b4c5f27a593fe931cce78
/
.
/
Tests
/
RunCMake
/
UnityBuild
/
unitybuild_runtest.cmake
blob: 3589cc86873b31cfe5f789a73f2a71ea29288588 [
file
] [
log
] [
blame
]
project
(
unitybuild_runtest C
)
set
(
CMAKE_UNITY_BUILD ON
)
# This tests that the variable works in addition to the property
add_library
(
lib main
.
c func
.
c
)
add_executable
(
main main
.
c func
.
c
)
enable_testing
()
add_test
(
NAME main COMMAND main
)