blob: 8816299fba181544db49cf49eb4ca656e0c8ff04 (
plain)
1
2
3
4
5
6
7
8
|
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)
|