Commit 0add5dbc authored by pieper's avatar pieper
Browse files

COMP: support python wrapping for MRMLLogic

git-svn-id: http://svn.slicer.org/Slicer4/trunk@14522 3bd1e089-480b-0410-8dfb-8563597acbee
parent a13f6b1d
......@@ -2,6 +2,7 @@
from logic import *
from mrml import *
from mrmlLogic import *
from teem import *
from freesurfer import *
from remoteio import *
""" This module loads all the classes from the MRML Logic library into its
namespace."""
import os
if os.name == 'posix':
from libMRMLLogicPython import *
else:
from MRMLLogicPython import *
......@@ -69,10 +69,12 @@ SET(MRMLLogic_SRCS
vtkImageResliceMask.cxx
)
# set hints for tcl and python
SET(VTK_WRAP_HINTS ${CMAKE_CURRENT_SOURCE_DIR}/Wrapping/Tcl/hints)
# TCL Wrapping
if (VTK_WRAP_TCL)
include("${VTK_CMAKE_DIR}/vtkWrapTcl.cmake")
SET(VTK_WRAP_HINTS ${CMAKE_CURRENT_SOURCE_DIR}/Wrapping/Tcl/hints)
vtk_wrap_tcl3(MRMLLogic MRMLLogic_TCL_SRCS "${MRMLLogic_SRCS}" "")
endif()
......
Supports Markdown
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