This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake".
The branch, next has been updated via 675d9d1ae559a4582c3f2759555f4f1368b638ff (commit) via 08ebb44e3db459c964a841357fb7860e66c6bad8 (commit) from 8542dd9c468d2ca6171b033e69320f1bd6c0efdd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=675d9d1ae559a4582c3f2759555f4f1368b638ff commit 675d9d1ae559a4582c3f2759555f4f1368b638ff Merge: 8542dd9 08ebb44 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Dec 9 14:52:08 2013 -0500 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Mon Dec 9 14:52:08 2013 -0500 Merge topic 'fix-INTERFACE-mapped-config' into next 08ebb44 Add test. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=08ebb44e3db459c964a841357fb7860e66c6bad8 commit 08ebb44e3db459c964a841357fb7860e66c6bad8 Author: Stephen Kelly <steve...@gmail.com> AuthorDate: Mon Dec 9 20:51:33 2013 +0100 Commit: Stephen Kelly <steve...@gmail.com> CommitDate: Mon Dec 9 20:51:33 2013 +0100 Add test. diff --git a/Tests/RunCMake/interface_library/RunCMakeTest.cmake b/Tests/RunCMake/interface_library/RunCMakeTest.cmake index e257fb3..0d00b71 100644 --- a/Tests/RunCMake/interface_library/RunCMakeTest.cmake +++ b/Tests/RunCMake/interface_library/RunCMakeTest.cmake @@ -4,3 +4,4 @@ run_cmake(invalid_name) run_cmake(target_commands) run_cmake(no_shared_libs) run_cmake(whitelist) +run_cmake(genex_link) diff --git a/Tests/RunCMake/interface_library/genex_link-result.txt b/Tests/RunCMake/interface_library/genex_link-result.txt new file mode 100644 index 0000000..573541a --- /dev/null +++ b/Tests/RunCMake/interface_library/genex_link-result.txt @@ -0,0 +1 @@ +0 diff --git a/Tests/RunCMake/interface_library/genex_link-stderr.txt b/Tests/RunCMake/interface_library/genex_link-stderr.txt new file mode 100644 index 0000000..10f3293 --- /dev/null +++ b/Tests/RunCMake/interface_library/genex_link-stderr.txt @@ -0,0 +1 @@ +^$ diff --git a/Tests/RunCMake/interface_library/genex_link.cmake b/Tests/RunCMake/interface_library/genex_link.cmake new file mode 100644 index 0000000..0dbf029 --- /dev/null +++ b/Tests/RunCMake/interface_library/genex_link.cmake @@ -0,0 +1,22 @@ + +cmake_minimum_required(VERSION 2.8.12.20131125 FATAL_ERROR) + +project(genex_link) + +set(_main_cpp ${CMAKE_CURRENT_BINARY_DIR}/main.cpp) +file(WRITE ${_main_cpp} + "int main(int argc, char** argv) { return 0; }\n" +) + +add_library(foo::bar INTERFACE IMPORTED) +set_target_properties(foo::bar + PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}" + # When not using a generator expression here, no error is generated + INTERFACE_LINK_LIBRARIES "$<$<NOT:$<CONFIG:DEBUG>>:foo_bar.lib>" +) + +add_executable(main ${_main_cpp}) +target_include_directories(main PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}") + +target_link_libraries(main foo::bar) ----------------------------------------------------------------------- Summary of changes: .../RunCMake/interface_library/RunCMakeTest.cmake | 1 + .../genex_link-result.txt} | 0 .../genex_link-stderr.txt} | 0 Tests/RunCMake/interface_library/genex_link.cmake | 22 ++++++++++++++++++++ 4 files changed, 23 insertions(+), 0 deletions(-) copy Tests/RunCMake/{CMP0022/CMP0022-WARN-empty-old-result.txt => interface_library/genex_link-result.txt} (100%) copy Tests/RunCMake/{CMP0022/CMP0022-NOWARN-exe-stderr.txt => interface_library/genex_link-stderr.txt} (100%) create mode 100644 Tests/RunCMake/interface_library/genex_link.cmake hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits