Revision: 55971
http://sourceforge.net/p/brlcad/code/55971
Author: starseeker
Date: 2013-07-08 14:28:04 +0000 (Mon, 08 Jul 2013)
Log Message:
-----------
Don't turn on the schemas unless we've got testing enabled.
Modified Paths:
--------------
brlcad/trunk/src/other/stepcode/CMakeLists.txt
Modified: brlcad/trunk/src/other/stepcode/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/stepcode/CMakeLists.txt 2013-07-08 14:16:00 UTC
(rev 55970)
+++ brlcad/trunk/src/other/stepcode/CMakeLists.txt 2013-07-08 14:28:04 UTC
(rev 55971)
@@ -89,11 +89,6 @@
set( SC_SDAI_ADDITIONAL_EXES_SRCS "" CACHE STRING "Source files for
additional executables to be linked with SDAI libs" )
endif(NOT DEFINED SC_SDAI_ADDITIONAL_EXES_SRCS )
-#this makes SC_BUILD_SCHEMAS show up in cmake-gui
-if( NOT DEFINED SC_BUILD_SCHEMAS )
- SET(SC_BUILD_SCHEMAS "ALL" CACHE string "Semicolon-separated list of paths
to EXPRESS schemas to be built" )
-endif( NOT DEFINED SC_BUILD_SCHEMAS )
-
# CMake derives much of its functionality from modules, typically
# stored in one directory - let CMake know where to find them.
SET(SC_CMAKE_DIR "${SC_SOURCE_DIR}/cmake")
@@ -140,9 +135,10 @@
# Testing option
OPTION_WITH_DEFAULT( SC_ENABLE_TESTING "Enable unittesting framework" OFF )
IF(SC_ENABLE_TESTING)
+ #this makes SC_BUILD_SCHEMAS show up in cmake-gui
if( NOT DEFINED SC_BUILD_SCHEMAS )
- set( SC_BUILD_SCHEMAS "ALL" ) #test all schemas, unless otherwise specified
- endif()
+ SET(SC_BUILD_SCHEMAS "ALL" CACHE string "Semicolon-separated list of paths
to EXPRESS schemas to be built" )
+ endif( NOT DEFINED SC_BUILD_SCHEMAS )
INCLUDE(CTest)
ENABLE_TESTING()
ENDIF(SC_ENABLE_TESTING)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits