summaryrefslogtreecommitdiffstats
path: root/Tests/VSExternalInclude
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-11-10 14:06:09 (GMT)
committerDavid Cole <david.cole@kitware.com>2010-11-10 14:06:09 (GMT)
commitb3cf739e2c784fbd6c8a93c1ac91bd4bcea5acbf (patch)
treef236090333835e9819b0bddefcef930bbf466ab8 /Tests/VSExternalInclude
parentc5762cf58c70f82479586e3938a85e60f9474a6c (diff)
downloadCMake-b3cf739e2c784fbd6c8a93c1ac91bd4bcea5acbf.zip
CMake-b3cf739e2c784fbd6c8a93c1ac91bd4bcea5acbf.tar.gz
CMake-b3cf739e2c784fbd6c8a93c1ac91bd4bcea5acbf.tar.bz2
Honor FOLDER on include_external_msproject targets (#11436)
Add FOLDER property usage to the VSExternalInclude test and inspect results manually to verify behavior. Thanks to Jens Auer for the bug report.
Diffstat (limited to 'Tests/VSExternalInclude')
-rw-r--r--Tests/VSExternalInclude/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/VSExternalInclude/CMakeLists.txt b/Tests/VSExternalInclude/CMakeLists.txt
index 931e636..1e68968 100644
--- a/Tests/VSExternalInclude/CMakeLists.txt
+++ b/Tests/VSExternalInclude/CMakeLists.txt
@@ -50,3 +50,11 @@ IF(MSVC10)
ADD_DEPENDENCIES(VSExternalInclude lib1)
ENDIF()
+# Interaction testing between the FOLDER target property and
+# INCLUDE_EXTERNAL_MSPROJECT targets:
+set_target_properties(VSExternalInclude PROPERTIES FOLDER folder1/folder2)
+set_target_properties(lib1 PROPERTIES FOLDER folder1/folder2)
+set_target_properties(lib2 PROPERTIES FOLDER folder1/folder2)
+add_custom_target(EmptyCustomTarget)
+set_target_properties(EmptyCustomTarget PROPERTIES FOLDER folder1/folder2)
+set_property(GLOBAL PROPERTY USE_FOLDERS ON)