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 1.54 KB
Newer Older
1
2
3
4
camitk_extension(ACTION_EXTENSION
                 DEFINES COMPILE_RECONSTRUCTION_ACTION_API
                 CEP_NAME SDK
                 DESCRIPTION "Use marching cube algorithm to create a surfacic mesh from a volumic image"
5
                 ENABLE_AUTO_TEST
6
                 TEST_FILES sinus_skin.vtk brain.mha sinus.mhd
7
                 ENABLE_INTEGRATION_TEST
8
)
9
10

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

Emmanuel Promayon's avatar
Emmanuel Promayon committed
13
14
15
# --------------------------------
# --- Specific test management ---
# --------------------------------
16
17
18
camitk_tests_requirement(TESTS action-reconstruction-integration-test
                         REQUIRES "${VTK_VERSION} VERSION_EQUAL 6.3"
                         REASON "VTK version is not equals than 6.3
19
20
21
22
   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."
23
)
Emmanuel Promayon's avatar
Emmanuel Promayon committed
24

25
26
27
camitk_tests_requirement(TESTS action-reconstruction-integration-test
                         REQUIRES "NOT WIN32"
                         REASON "WIN32 OpenGL failure on a VM
28
29
   This test will always fail when run inside a VM due to OpenGL crash.
   This test will pass when run directly from a physical windows machine."
30
)