diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-07-16 19:51:26 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-10-27 19:17:23 (GMT) |
commit | a7c71b9f035175def9a3e53ed12112c6bb4862e5 (patch) | |
tree | 7aa37f1eec05036efaa0f051ef1419c6d1ab4c9a /Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterface.cmake | |
parent | 4b0ee4e3385adbdd69765360e4dc34832ef2b256 (diff) | |
download | CMake-a7c71b9f035175def9a3e53ed12112c6bb4862e5.zip CMake-a7c71b9f035175def9a3e53ed12112c6bb4862e5.tar.gz CMake-a7c71b9f035175def9a3e53ed12112c6bb4862e5.tar.bz2 |
Tests: Add tests for target_sources(FILE_SET) and associated functionality
Diffstat (limited to 'Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterface.cmake')
-rw-r--r-- | Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterface.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterface.cmake b/Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterface.cmake new file mode 100644 index 0000000..face69e --- /dev/null +++ b/Tests/RunCMake/target_sources/FileSetInstallMissingSetsInterface.cmake @@ -0,0 +1,5 @@ +enable_language(C) + +add_library(lib1 STATIC empty.c) +target_sources(lib1 INTERFACE FILE_SET a TYPE HEADERS BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} FILES h1.h) +install(TARGETS lib1 EXPORT a) |