Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

CMakeLists.txt 2.61 KB
Newer Older
promayon's avatar
promayon committed
1
2
3
# vtkmesh component does not require any specific things
# to be compiled/generated by default
# there are some header installation needed 
4
5
6
camitk_extension(COMPONENT_EXTENSION
                 DEFINES COMPILE_VTK_COMPONENT_API
                 HEADERS_TO_INSTALL VtkMeshComponent.h
7
                                    VtkMeshComponentExtension.h                                    
promayon's avatar
promayon committed
8
9
                                    VtkMeshComponentAPI.h
                                    VtkMeshUtil.h
10
11
                 CEP_NAME SDK
                 DESCRIPTION "Support for native (legacy) vtkmesh files"
12
                 ENABLE_AUTO_TEST
13
14
                 # Exclude binary files
                 TEST_FILES cube-with-point-and-cell-data.vtk imageBoundingBox.vtk polydata-with-data.vtk sinus_skull.vtk cube-with-tensors.vtk male.vtk structuredgrid-with-data.vtk brainImageSmooth.vtk female.vtk plate-with-data.vtk simple.vtk structured.vtk check-with-color-pointdata.vtk fieldfile.vtk pointcloud-with-data.vtk  sinus_skin.vtk
promayon's avatar
promayon committed
15
)
16
17

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

Emmanuel Promayon's avatar
Emmanuel Promayon committed
20
21
22
# --------------------------------
# --- Specific test management ---
# --------------------------------
23
camitk_tests_requirement(TESTS component-vtkmesh-level3-1
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
                         component-vtkmesh-level3-2
                         component-vtkmesh-level3-3
                         component-vtkmesh-level3-4
                         component-vtkmesh-level3-5
                         component-vtkmesh-level3-6
                         component-vtkmesh-level3-7
                         component-vtkmesh-level3-8
                         component-vtkmesh-level3-9
                         component-vtkmesh-level3-10
                         component-vtkmesh-level3-11
                         component-vtkmesh-level3-12
                         component-vtkmesh-level3-13
                         component-vtkmesh-level3-14
                         component-vtkmesh-level3-15
                         component-vtkmesh-level3-16
39
40
                         REQUIRES "${VTK_VERSION} VERSION_EQUAL 6.3"
                         REASON "VTK version is not equals than 6.3
41
42
43
44
   The default test files are written using the currently supported version of VTK (VTK 6.3).
   This test will therefore fail when comparing the input to the output if another version of VTK is used.
   E.g., Ubuntu 16.04 LTS comes with VTK 6.2 and Debian buster comes with VTK 7.1
   Although everything should work well on both OS, this test will unconditionnaly fail."
45
)