Revision: 76753
http://sourceforge.net/p/brlcad/code/76753
Author: starseeker
Date: 2020-08-14 14:47:14 +0000 (Fri, 14 Aug 2020)
Log Message:
-----------
Visual Studio generators apparently don't have a clean rule, so we'll need to
scrub it down manually to restore an original state. Just use GLOB_RECURSE,
since there isn't any cleaning behavior to check in the first place...
(untested.)
Modified Paths:
--------------
brlcad/branches/RELEASE/misc/CMake/distclean.cmake.in
Modified: brlcad/branches/RELEASE/misc/CMake/distclean.cmake.in
===================================================================
--- brlcad/branches/RELEASE/misc/CMake/distclean.cmake.in 2020-08-14
14:14:31 UTC (rev 76752)
+++ brlcad/branches/RELEASE/misc/CMake/distclean.cmake.in 2020-08-14
14:47:14 UTC (rev 76753)
@@ -53,6 +53,13 @@
endif(EXISTS "@BRLCAD_BINARY_DIR@/source_archive_contents")
message("Removing CMake-generated files... done.")
+# Visual Studio generators don't have a clean target, so we need to do
+# this manually - remove all files
+if(EXISTS "@BRLCAD_BINARY_DIR@/BRLCAD.sln")
+ file(GLOB_RECURSE VSFILES LIST_DIRECTORIES TRUE RELATIVE
"@BRLCAD_BINARY_DIR@" "*")
+ file(REMOVE_RECURSE ${VSFILES})
+endif(EXISTS "@BRLCAD_BINARY_DIR@/BRLCAD.sln")
+
# Need to recursively go down the directories to get a full list.
# Easier to use a function, so maintain the directory list in
# a global property
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits