Revision: 68987
http://sourceforge.net/p/brlcad/code/68987
Author: starseeker
Date: 2016-10-05 13:33:52 +0000 (Wed, 05 Oct 2016)
Log Message:
-----------
Only try testing subdir if we've got the full build enabled
Modified Paths:
--------------
brlcad/trunk/src/CMakeLists.txt
Modified: brlcad/trunk/src/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/CMakeLists.txt 2016-10-04 19:59:41 UTC (rev 68986)
+++ brlcad/trunk/src/CMakeLists.txt 2016-10-05 13:33:52 UTC (rev 68987)
@@ -170,9 +170,11 @@
# so it can be used for experimentation that needs to be
# part of the build but the dev doesn't want to accidentally
# commit.
-if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testing)
- add_subdirectory(testing)
-endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testing)
+if(NOT BRLCAD_ENABLE_TARGETS OR "${BRLCAD_ENABLE_TARGETS}" GREATER 2)
+ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testing)
+ add_subdirectory(testing)
+ endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/testing)
+endif(NOT BRLCAD_ENABLE_TARGETS OR "${BRLCAD_ENABLE_TARGETS}" GREATER 2)
# Local Variables:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits