-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathCMakeLists.txt
41 lines (36 loc) · 967 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# --------------------------------------------------------------------------
# Library compilation
add_library(vtkSurface
RenderWindow.cxx
vtkDelaunay.cxx
vtkDualMeshDisplay.cxx
vtkManifoldSimplification.cxx
vtkOFFReader.cxx
vtkOFFWriter.cxx
vtkQuadricTools.cxx
vtkRandomTriangulation.cxx
vtkSurface.cxx
vtkSurfaceBase.cxx
vtkVolumeProperties.cxx
vtkNeighbourhoodComputation.cxx
vtkCurvatureMeasure.cxx
)
target_link_libraries(vtkSurface ${VTK_LIBRARIES})
set_target_properties( vtkSurface PROPERTIES
DEBUG_POSTFIX "-d"
VERSION "${ACVD_LIB_VERSION}"
SOVERSION "${ACVD_LIB_SOVERSION}"
)
install( TARGETS vtkSurface
EXPORT ACVDTargets
RUNTIME DESTINATION ${INSTALL_BIN_DIR}
LIBRARY DESTINATION ${INSTALL_LIB_DIR}
ARCHIVE DESTINATION ${INSTALL_LIB_DIR}
)
file( GLOB _vtkSurface_hdrs *.h )
install( FILES ${_vtkSurface_hdrs}
DESTINATION ${INSTALL_INCLUDE_DIR}/ACVD/Common
)
if( BUILD_EXAMPLES )
add_subdirectory( Examples )
endif()