mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-12 01:59:43 -06:00
12 lines
410 B
CMake
12 lines
410 B
CMake
set(subdir "subdir/")
|
|
set(ext_suffix ".c")
|
|
if (RunCMake_GENERATOR MATCHES "(Visual Studio|Xcode)")
|
|
set(ext_suffix "")
|
|
set(subdir "")
|
|
endif ()
|
|
set(path "${RunCMake_TEST_BINARY_DIR}/real_install/lib/objlib/objects-Debug/objlib/${subdir}obj${ext_suffix}${CMAKE_C_OUTPUT_EXTENSION}")
|
|
if (NOT EXISTS "${path}")
|
|
list(APPEND RunCMake_TEST_FAILED
|
|
"Expected install object '${path}' does not exist")
|
|
endif ()
|