summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/UnityBuildPCH-build-check.cmake
blob: 9043bb78042aca8aa8c0875d4619d0fdd2c0a732 (plain)
1
2
3
4
5
6
7
8
9
10
set(obj "${RunCMake_TEST_BINARY_DIR}/UnityBuildPCH.dir/Debug/UnityBuildPCH.obj")
if(NOT EXISTS "${obj}")
  set(RunCMake_TEST_FAILED "Expected object file does not exist:\n  ${obj}")
  return()
endif()
set(lib "${RunCMake_TEST_BINARY_DIR}/Debug/UnityBuildPCH.lib")
if(EXISTS "${lib}")
  set(RunCMake_TEST_FAILED "Unexpected library file exists:\n  ${lib}")
  return()
endif()