summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPIExternalSource
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-14 20:10:49 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-16 20:47:43 (GMT)
commita12d7f70b1b97f74293d9861a1827c88ef46ec39 (patch)
treecc6e798f5ad63468679ef7a3abcb21438173d12a /Tests/RunCMake/FileAPIExternalSource
parentfd30bd93e6f4334a9cd317a1e5eb8181fffa7a42 (diff)
downloadCMake-a12d7f70b1b97f74293d9861a1827c88ef46ec39.zip
CMake-a12d7f70b1b97f74293d9861a1827c88ef46ec39.tar.gz
CMake-a12d7f70b1b97f74293d9861a1827c88ef46ec39.tar.bz2
fileapi: Add a "directory" object to codemodel-v2
This object will contain more detailed directory-level information. Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
Diffstat (limited to 'Tests/RunCMake/FileAPIExternalSource')
-rw-r--r--Tests/RunCMake/FileAPIExternalSource/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPIExternalSource/CMakeLists.txt b/Tests/RunCMake/FileAPIExternalSource/CMakeLists.txt
index b3ca660..2865864 100644
--- a/Tests/RunCMake/FileAPIExternalSource/CMakeLists.txt
+++ b/Tests/RunCMake/FileAPIExternalSource/CMakeLists.txt
@@ -11,3 +11,6 @@ set_property(SOURCE empty.c PROPERTY INCLUDE_DIRECTORIES "${CMAKE_CURRENT_BINARY
target_include_directories(generated_exe SYSTEM PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}")
target_compile_definitions(generated_exe PRIVATE GENERATED_EXE=1 -DTGT_DUMMY)
set_source_files_properties(empty.c PROPERTIES COMPILE_OPTIONS SRC_COMPILE_OPTIONS_DUMMY)
+
+install(DIRECTORY . DESTINATION dir3)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} EXCLUDE_FROM_ALL DESTINATION dir4)