Commit a1517b89 authored by jcfr's avatar jcfr
Browse files

COMP: Rename Slicer3CompilePythonScripts.cmake into SlicerCompilePythonScripts.cmake

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15073 3bd1e089-480b-0410-8dfb-8563597acbee
parent a77c1599
......@@ -26,7 +26,7 @@ IF(Slicer3_USE_PYTHONQT_WITH_TCL)
)
ENDIF()
Slicer3_compile_python_scripts(
Slicer_compile_python_scripts(
TARGET_NAME slicer
SCRIPTS "${Slicer_PYTHON_SCRIPTS}"
RESOURCES "${Slicer_PYTHON_RESOURCES}"
......
......@@ -4,7 +4,7 @@
# ParaView/VTK/Wrapping/Python/CMakeLists.txt
#
MACRO(Slicer3_compile_python_scripts)
MACRO(Slicer_compile_python_scripts)
SLICER3_PARSE_ARGUMENTS(MY
"TARGET_NAME;SCRIPTS;RESOURCES;DESTINATION_DIR;INSTALL_DIR"
""
......@@ -60,7 +60,7 @@ MACRO(Slicer3_compile_python_scripts)
# Generate compile_${MY_TARGET_NAME}_python_scripts.py
FILE(WRITE ${compile_all_script} "
#
# Generated by Slicer3_compile_python_scripts CMAKE macro
# Generated by Slicer_compile_python_scripts CMAKE macro
#
# Based on paraview/VTK/Wrapping/Python/compile_all_vtk.py.in
......@@ -76,7 +76,7 @@ file.write('Done')
SET(compile_all_cmake_script "${CMAKE_CURRENT_BINARY_DIR}/compile_${MY_TARGET_NAME}_python_scripts.cmake")
FILE(WRITE ${compile_all_cmake_script} "
#
# Generated by Slicer3_compile_python_scripts CMAKE macro
# Generated by Slicer_compile_python_scripts CMAKE macro
#
IF(WIN32)
......
......@@ -339,7 +339,7 @@ IF(Slicer3_USE_QT)
MESSAGE(FATAL_ERROR "Since both Slicer3_USE_QT and Slicer3_USE_PYTHONQT are ON, VTK_WRAP_PYTHON is expected to be ON. Disable Slicer3_USE_PYTHONQT or re-configure VTK with python wrapping.")
ENDIF(NOT VTK_WRAP_PYTHON)
# Include convenient script allowing to copy and compile python scripts
INCLUDE(${Slicer_CMAKE_DIR}/Slicer3CompilePythonScripts.cmake)
INCLUDE(${Slicer_CMAKE_DIR}/SlicerCompilePythonScripts.cmake)
# Enable qMRMLWidgets python wrapping
SET(qMRMLWidgets_WRAP_PYTHON OFF)
ENDIF(Slicer3_USE_PYTHONQT)
......
......@@ -4,7 +4,7 @@ SET(displayableManager_PYTHON_SCRIPTS
mrmlDisplayableManager/vtkScriptedExampleDisplayableManager
)
Slicer3_compile_python_scripts(
Slicer_compile_python_scripts(
TARGET_NAME mrmlDisplayableManager
SCRIPTS "${displayableManager_PYTHON_SCRIPTS}"
DESTINATION_DIR ${Slicer3_BINARY_DIR}/bin/Python
......
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