Merge branch 'backport-revert-install-code-script-genex' into revert-install-code-script-genex

This commit is contained in:
Brad King
2018-10-11 08:14:48 -04:00
10 changed files with 9 additions and 70 deletions
@@ -1 +0,0 @@
1
@@ -1,6 +0,0 @@
CMake Error:
Error evaluating generator expression:
\$<NOTAGENEX>
Expression did not evaluate to a known generator expression
@@ -1 +0,0 @@
install(CODE "message(\"$<NOTAGENEX>\")")
@@ -1,7 +0,0 @@
execute_process(COMMAND ${CMAKE_COMMAND} -P ${RunCMake_TEST_BINARY_DIR}/cmake_install.cmake
OUTPUT_VARIABLE out ERROR_VARIABLE err)
if(NOT out MATCHES "-- Install configuration: .*-- codegenexlib")
string(REGEX REPLACE "\n" "\n " out " ${out}")
string(APPEND RunCMake_TEST_FAILED
"\"-- codegenexlib\" was not found:\n${out}")
endif()
-2
View File
@@ -1,2 +0,0 @@
add_library( codegenexlib INTERFACE )
install(CODE "message( STATUS \"$<TARGET_PROPERTY:codegenexlib,NAME>\")")
@@ -65,8 +65,6 @@ run_cmake(CMP0062-NEW)
run_cmake(CMP0062-WARN)
run_cmake(TARGETS-NAMELINK_COMPONENT-bad-all)
run_cmake(TARGETS-NAMELINK_COMPONENT-bad-exc)
run_cmake(CODE-genex)
run_cmake(CODE-genex-bad)
if(NOT RunCMake_GENERATOR STREQUAL "Xcode" OR NOT "$ENV{CMAKE_OSX_ARCHITECTURES}" MATCHES "[;$]")
run_install_test(FILES-TARGET_OBJECTS)