summaryrefslogtreecommitdiffstats
path: root/Tests/VSExcludeFromDefaultBuild/ClearExes.cmake
diff options
context:
space:
mode:
authorRobert Goulet <robert.goulet@autodesk.com>2015-05-01 17:46:17 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-06 14:31:39 (GMT)
commita6e4e73da3de092439b6fcfe884f44a7c8a1ad81 (patch)
treecbffd7b03e181ad6f6f69d09365f435302b26280 /Tests/VSExcludeFromDefaultBuild/ClearExes.cmake
parent562e69dd500f3b1558ab3ffd62679b8b4b0df842 (diff)
downloadCMake-a6e4e73da3de092439b6fcfe884f44a7c8a1ad81.zip
CMake-a6e4e73da3de092439b6fcfe884f44a7c8a1ad81.tar.gz
CMake-a6e4e73da3de092439b6fcfe884f44a7c8a1ad81.tar.bz2
VS: Add option to put INSTALL target in .sln default build
Add a CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable to control this behavior.
Diffstat (limited to 'Tests/VSExcludeFromDefaultBuild/ClearExes.cmake')
-rw-r--r--Tests/VSExcludeFromDefaultBuild/ClearExes.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/VSExcludeFromDefaultBuild/ClearExes.cmake b/Tests/VSExcludeFromDefaultBuild/ClearExes.cmake
index ece30ad..99cf1a5 100644
--- a/Tests/VSExcludeFromDefaultBuild/ClearExes.cmake
+++ b/Tests/VSExcludeFromDefaultBuild/ClearExes.cmake
@@ -2,3 +2,7 @@ file(GLOB exeFiles "${dir}/*.exe")
foreach(exeFile IN LISTS exeFiles)
file(REMOVE "${exeFile}")
endforeach()
+file(GLOB exeFiles "${dir}/install/*.exe")
+foreach(exeFile IN LISTS exeFiles)
+ file(REMOVE "${exeFile}")
+endforeach()