• jcfr's avatar
    COMP: Update main CMakeLists.txt to include TCL/KWWidgets code only if required. · 255b5571
    jcfr authored
    Three different sets of parameters are now available:
      1) Slicer3_USE_KWIDGETS:ON (default)  and  Slicer3_USE_QT:OFF (default)
      2) Slicer3_USE_KWIDGETS:ON (default)  and  Slicer3_USE_QT:ON
      3) Slicer3_USE_KWIDGETS:OFF (default)  and  Slicer3_USE_QT:ON
    
    
       - if Slicer3_USE_KWIDGETS is OFF
             * Unset the Slicer3_INSTALL_MODULES_* variables
             * Exclude FIND_PACKAGE(KWWidgets REQUIRED)
       - if Slicer3_USE_KWIDGETS is ON
             * SKIP_KWWidgets_BUILD_SETTINGS_FILE set to 1
             * ADD_DEFINITIONS(-DSlicer3_USE_KWWIDGETS)
       - Complain if both Slicer3_USE_QT and Slicer3_USE_KWWIDGETS are OFF
       - Complain if Slicer3_USE_QT is ON, Slicer3_USE_KWWIDGETS is OFF and if VTK_WRAP_TCL is ON
       - All TCL specific code is included only if VTK_WRAP_TCL is ON
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@11295 3bd1e089-480b-0410-8dfb-8563597acbee
    255b5571
Name
Last commit
Last update
Applications Loading commit data...
Attic Loading commit data...
Base Loading commit data...
CMake Loading commit data...
Doc/copyright Loading commit data...
Extensions Loading commit data...
Libs Loading commit data...
Modules Loading commit data...
QTModules Loading commit data...
Resources Loading commit data...
Scripts Loading commit data...
Testing Loading commit data...
Utilities Loading commit data...
CMakeLists.txt Loading commit data...
CTestConfig.cmake Loading commit data...
CTestCustom.cmake.in Loading commit data...
Doxyfile Loading commit data...
GenerateSlicer3Config.cmake Loading commit data...
License.txt Loading commit data...
README.txt Loading commit data...
Slicer3Config.cmake.in Loading commit data...
Slicer3InstallConfig.cmake.in Loading commit data...
UseSlicer3.cmake.in Loading commit data...
launch.tcl.in Loading commit data...
slicer_variables.tcl Loading commit data...
slicer_variables2.tcl Loading commit data...
vtkSlicerConfigure.h.in Loading commit data...