CMakeLists.txt 1.27 KB
Newer Older
1
2
3
4
5
6
7
8
camitk_extension(ACTION_EXTENSION
                 NEEDS_COMPONENT_EXTENSION vtkmesh
                 DEFINES COMPILE_MESHPROCESSING_ACTION_API
                 CEP_NAME SDK
                 DESCRIPTION "Features some nice algorithms for mesh processing"
                 INCLUDE_DIRECTORIES ${CAMITK_INCLUDE_DIR}/components/vtkmesh
                 INSTALL_ALL_HEADERS
                 AUTO_TEST
9
                 TEST_FILES brain.mha bassin.msh head1.STL liver-smooth.obj Mesh.off robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk pointcloud-with-data.vtk polydata-with-data.vtk cube-with-point-and-cell-data.vtk fieldfile.vtk check-with-color-pointdata.vtk plate-with-data.vtk female.vtk brainImageSmooth.vtk structuredgrid-with-data.vtk male.vtk cube-with-tensors.vtk imageBoundingBox.vtk binary-mesh-with-pointdata.vtk unstructured_binary_with_celldata.vtk
10
)
11
12

# Recursively update the shiboken path variable containing the CamiTK SDK tree structure
13
14
set(SHIBOKEN_CAMITK_SDK_PATH ${SHIBOKEN_CAMITK_SDK_PATH}:${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "") 

15
# "Append Meshes" action will always abort as only one mesh is given in input by testaction
16
# "Append Meshes" needs two meshes (appends first mesh to second mesh)
17
# TODO write a auto test using the asm