Commit a9b6d94b authored by jcfr's avatar jcfr
Browse files

ENH: PythonQt wrapping - CTK is now configured with CTK_WRAP_PYTHONQT_LIGHT:ON

The macro ctkMacroWrapPythonQt is also included in the main CMakeLists.txt

git-svn-id: http://svn.slicer.org/Slicer4/trunk@14537 3bd1e089-480b-0410-8dfb-8563597acbee
parent 05b4ee1d
......@@ -269,6 +269,12 @@ if (Slicer3_USE_QT)
FIND_PACKAGE(CTK REQUIRED)
IF(CTK_FOUND)
INCLUDE(${CTK_USE_FILE})
# Update CMake module path
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CTK_CMAKE_UTILITIES_DIR})
IF(Slicer3_USE_PYTHONQT)
SET(PYTHONQT_INSTALL_DIR ${CTK_PYTHONQT_INSTALL_DIR})
INCLUDE(${CTK_CMAKE_DIR}/ctkMacroWrapPythonQt.cmake)
ENDIF()
ENDIF()
ENDIF()
......
......@@ -26,12 +26,14 @@ if (Slicer3_USE_QT)
-DVTK_DIR:PATH=${VTK_DIR}
-DPYTHON_LIBRARY:FILEPATH=${slicer_PYTHON_LIBRARY}
-DPYTHON_INCLUDE_DIR:PATH=${slicer_PYTHON_INCLUDE}
-DPYTHON_EXECUTABLE:FILEPATH=${slicer_PYTHON_EXECUTABLE}
-DCTK_LIB_Widgets:BOOL=ON
-DCTK_LIB_Visualization/VTK/Widgets:BOOL=ON
-DCTK_LIB_Scripting/Python/Core:BOOL=${Slicer3_USE_PYTHONQT}
-DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTGUI:BOOL=${Slicer3_USE_PYTHONQT}
-DCTK_LIB_Scripting/Python/Core_PYTHONQT_WRAP_QTUITOOLS:BOOL=${Slicer3_USE_PYTHONQT}
-DCTK_LIB_Scripting/Python/Widgets:BOOL=${Slicer3_USE_PYTHONQT}
-DCTK_WRAP_PYTHONQT_LIGHT:BOOL=${Slicer3_USE_PYTHONQT}
-DCTK_LIB_PluginFramework:BOOL=OFF
-DCTK_PLUGIN_org.commontk.eventbus:BOOL=OFF
-Dgit_EXECUTABLE:FILEPATH=${git_EXECUTABLE}
......
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