Files
CMake/Tests/RunCMake/UnityBuild/unitybuild_c_group-check.cmake
Robert Maynard 9f4eb352fe Unity Builds: Support explicit specification of sources to groups
Instead of having CMake determine which files should go into each
unity file, the user can now use explicitly state the mapping.
2020-05-07 11:13:34 -04:00

12 lines
469 B
CMake

set(unitybuild_a_c "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_a_c.c")
if(NOT EXISTS "${unitybuild_a_c}")
set(RunCMake_TEST_FAILED "Generated unity source files ${unitybuild_a_c} does not exist.")
return()
endif()
set(unitybuild_b_c "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_b_c.c")
if(NOT EXISTS "${unitybuild_b_c}")
set(RunCMake_TEST_FAILED "Generated unity source files ${unitybuild_b_c} does not exist.")
return()
endif()