summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/UnityBuild/unitybuild_c_no_unity_build-check.cmake
blob: 22d2fc6c808c3fc9ebac9987e275ce38f7d8bd93 (plain)
1
2
3
4
5
set(unitybuild_c "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_0_c.c")
if(EXISTS "${unitybuild_c}")
  set(RunCMake_TEST_FAILED "Generated unity source files ${unitybuild_c} should not exist.")
  return()
endif()