Commit 42e41181 authored by jcfr's avatar jcfr
Browse files

COMP: Rename Slicer3_BUILD_TESTING into Slicer_BUILD_TESTING

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15094 3bd1e089-480b-0410-8dfb-8563597acbee
parent 3349bdc5
......@@ -12,6 +12,6 @@ IF(Slicer_USE_QT)
ADD_SUBDIRECTORY(SlicerQT)
ENDIF(Slicer_USE_QT)
IF(Slicer3_BUILD_TESTING)
IF(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
ENDIF(Slicer3_BUILD_TESTING)
ENDIF(Slicer_BUILD_TESTING)
......@@ -291,6 +291,6 @@ generateclp(${SRC} Slicer3.xml)
# --------------------------------------------------------------------------
# Testing
#
IF(Slicer3_BUILD_TESTING)
IF(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
ENDIF(Slicer3_BUILD_TESTING)
ENDIF(Slicer_BUILD_TESTING)
......@@ -504,6 +504,6 @@ INSTALL(TARGETS SlicerQT${SlicerQT_EXE_SUFFIX}
# --------------------------------------------------------------------------
# Testing
#
IF(Slicer3_BUILD_TESTING)
IF(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
ENDIF(Slicer3_BUILD_TESTING)
ENDIF(Slicer_BUILD_TESTING)
......@@ -37,8 +37,8 @@ Slicer_compile_python_scripts(
#-----------------------------------------------------------------------------
# Testing
#
if(Slicer3_BUILD_TESTING)
if(Slicer_BUILD_TESTING)
IF(Slicer_USE_PYTHONQT_WITH_TCL)
add_subdirectory(tpycl/Testing)
ENDIF()
endif(Slicer3_BUILD_TESTING)
endif(Slicer_BUILD_TESTING)
......@@ -30,7 +30,7 @@ MACRO(SLICER_SETUP_QT)
ENDIF()
# Enable modules
SET(QT_USE_QTNETWORK ON)
SET(QT_USE_QTTEST ${Slicer3_BUILD_TESTING})
SET(QT_USE_QTTEST ${Slicer_BUILD_TESTING})
# Includes Qt headers
INCLUDE(${QT_USE_FILE})
......
......@@ -127,7 +127,7 @@ IF(Slicer_WITH_LIBRARY_VERSION)
ENDIF()
#-----------------------------------------------------------------------------
# Slicer3 macros
# Slicer macros
#
set(Slicer_CMAKE_DIR "${Slicer3_SOURCE_DIR}/CMake" CACHE INTERNAL "")
add_subdirectory(CMake)
......@@ -188,9 +188,9 @@ MESSAGE(STATUS "Slicer3_BUILD:${Slicer3_BUILD}")
# Add the testing directories
#
OPTION(BUILD_TESTING "Test the project" ON)
SET(Slicer3_BUILD_TESTING ${BUILD_TESTING})
SET(Slicer_BUILD_TESTING ${BUILD_TESTING})
SET(LAUNCH_EXE ${Slicer3_BINARY_DIR}/Slicer3 --launch)
IF(Slicer3_BUILD_TESTING)
IF(Slicer_BUILD_TESTING)
#IF(NOT BUILDNAME)
# SET(BUILDNAME "${Slicer3_BUILD}" CACHE STRING "Name of build on the dashboard")
#ELSE()
......@@ -722,7 +722,7 @@ add_subdirectory(Applications)
#-----------------------------------------------------------------------------
# Testing
#
IF(Slicer3_BUILD_TESTING)
IF(Slicer_BUILD_TESTING)
add_subdirectory(Testing)
ENDIF()
......
......@@ -119,7 +119,7 @@ ENDFOREACH(module)
## COMMANDLINE_DEBUG
## DEAMON_DEBUG
if(Slicer3_BUILD_TESTING)
if(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
endif(Slicer3_BUILD_TESTING)
endif(Slicer_BUILD_TESTING)
......@@ -33,6 +33,6 @@ ENDFOREACH(lib)
# --------------------------------------------------------------------------
if(Slicer3_BUILD_TESTING)
if(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
endif(Slicer3_BUILD_TESTING)
endif(Slicer_BUILD_TESTING)
......@@ -62,9 +62,9 @@ include("${VTK_CMAKE_DIR}/vtkWrapTcl.cmake")
vtk_wrap_tcl3(NeuroNav NeuroNav_TCL_SRCS "${NeuroNav_SRCS}" "")
# --------------------------------------------------------------------------
if(Slicer3_BUILD_TESTING)
if(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
endif(Slicer3_BUILD_TESTING)
endif(Slicer_BUILD_TESTING)
#---------------------------------------------------------------------------
......
......@@ -2,6 +2,6 @@ project(Statistics)
ADD_SUBDIRECTORY(LabelStatistics)
if(Slicer3_BUILD_TESTING)
if(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
endif(Slicer3_BUILD_TESTING)
endif(Slicer_BUILD_TESTING)
......@@ -30,9 +30,9 @@ FOREACH(lib ${Tractography_libs})
ENDFOREACH(lib)
# --------------------------------------------------------------------------
if(Slicer3_BUILD_TESTING)
if(Slicer_BUILD_TESTING)
ADD_SUBDIRECTORY(Testing)
endif(Slicer3_BUILD_TESTING)
endif(Slicer_BUILD_TESTING)
# Install testing data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment