CMakeLists.txt 1.54 KB
Newer Older
1
2
3
4
5
6
#
# Source files
#
# Here is where you can add the name of your local imaging classes.
#

7
SET (Imaging_SRCS
8
  vtkImageFoo.cxx
9
10
11
12
13
14
)

# --------------------------------------------------------------------------
# You probably do not need to modify anything below this line

# Create the vtkmyImaging C++ library
15
16
ADD_LIBRARY (vtkmyImaging ${Imaging_SRCS})
TARGET_LINK_LIBRARIES(vtkmyImaging vtkmyCommon vtkImaging)
17
18

# Create the vtkmyImaging Tcl library
19
IF (VTK_WRAP_TCL AND VTKMY_WRAP_TCL)
20
  VTK_WRAP_TCL3 (vtkmyImagingTCL ImagingTCL_SRCS "${Imaging_SRCS}" "")
Berk Geveci's avatar
Berk Geveci committed
21
  ADD_LIBRARY (vtkmyImagingTCL ${ImagingTCL_SRCS})
22
  TARGET_LINK_LIBRARIES (vtkmyImagingTCL vtkmyCommonTCL vtkmyImaging vtkImagingTCL)
23
ENDIF (VTK_WRAP_TCL AND VTKMY_WRAP_TCL)
24

25
# Create the vtkmyImaging Python library.
26
IF (VTK_WRAP_PYTHON AND VTKMY_WRAP_PYTHON)
27
28
29
30
31
  VTK_WRAP_PYTHON3 (vtkmyImagingPython ImagingPython_SRCS ${Imaging_SRCS})
  ADD_LIBRARY (vtkmyImagingPythonD ${ImagingPython_SRCS})
  ADD_LIBRARY (vtkmyImagingPython MODULE vtkmyImagingPythonInit.cxx)
  TARGET_LINK_LIBRARIES(vtkmyImagingPythonD vtkmyImaging vtkmyCommonPythonD vtkImaging vtkImagingPythonD)
  TARGET_LINK_LIBRARIES(vtkmyImagingPython vtkmyImagingPythonD)
32
ENDIF (VTK_WRAP_PYTHON AND VTKMY_WRAP_PYTHON)
33

34
# Create the vtkmyImaging Java library.
35
IF (VTK_WRAP_JAVA AND VTKMY_WRAP_JAVA)
36
  VTK_WRAP_JAVA3 (vtkmyImagingJava ImagingJava_SRCS ${Imaging_SRCS})
37
  ADD_LIBRARY (vtkmyImagingJava SHARED ${ImagingJava_SRCS})
38
  TARGET_LINK_LIBRARIES (vtkmyImagingJava vtkmyCommonJava vtkmyImaging vtkImagingJava)
39
ENDIF (VTK_WRAP_JAVA AND VTKMY_WRAP_JAVA)