mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-07 15:18:38 -06:00
9 lines
209 B
CMake
9 lines
209 B
CMake
project(unitybuild_runtest C)
|
|
|
|
set(CMAKE_UNITY_BUILD ON) # This tests that the variable works in addition to the property
|
|
|
|
add_executable(main main.c func.c)
|
|
|
|
enable_testing()
|
|
add_test(NAME main COMMAND main)
|