|
@@ -1,14 +1,14 @@
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/Assertions.cmake)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/Assertions.cmake)
|
|
|
|
|
|
|
|
-set(out_dir "${RunCMake_BINARY_DIR}/PerConfigGeneration-build")
|
|
|
|
|
|
|
+set(out_dir "${RunCMake_BINARY_DIR}/Config-build")
|
|
|
|
|
|
|
|
file(READ "${out_dir}/foo.cps" content)
|
|
file(READ "${out_dir}/foo.cps" content)
|
|
|
|
|
|
|
|
if(RunCMake_GENERATOR_IS_MULTI_CONFIG)
|
|
if(RunCMake_GENERATOR_IS_MULTI_CONFIG)
|
|
|
- foreach(config ${CMAKE_CONFIGURATION_TYPES})
|
|
|
|
|
|
|
+ foreach(config FooConfig BarConfig)
|
|
|
expect_object("${content}" "components" "foo" "configurations" ${config})
|
|
expect_object("${content}" "components" "foo" "configurations" ${config})
|
|
|
endforeach()
|
|
endforeach()
|
|
|
else()
|
|
else()
|
|
|
- include(${RunCMake_TEST_BINARY_DIR}/build_type.cmake)
|
|
|
|
|
|
|
+ set(config TestConfig)
|
|
|
expect_object("${content}" "components" "foo" "configurations" ${config})
|
|
expect_object("${content}" "components" "foo" "configurations" ${config})
|
|
|
endif()
|
|
endif()
|