CMakeLists.txt 1.35 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
21
22
  VTK_WRAP_TCL (vtkmyImagingTCL ImagingTCL_SRCS ${Imaging_SRCS})
  ADD_LIBRARY (vtkmyImagingTCL SHARED ${ImagingTCL_SRCS})
  TARGET_LINK_LIBRARIES (vtkmyImagingTCL vtkmyCommonTCL vtkmyImaging)
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
  VTK_WRAP_PYTHON (vtkmyImagingPython ImagingPython_SRCS ${Imaging_SRCS})
28
  ADD_LIBRARY (vtkmyImagingPython MODULE ${ImagingPython_SRCS})
29
  TARGET_LINK_LIBRARIES (vtkmyImagingPython vtkmyCommonPython vtkmyImaging)
30
ENDIF (VTK_WRAP_PYTHON AND VTKMY_WRAP_PYTHON)
31

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