Skip to content

Commit 76d68c7

Browse files
committed
ENH:Add MeshAlignment module
1 parent e8b8f70 commit 76d68c7

File tree

7 files changed

+737
-0
lines changed

7 files changed

+737
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ include(${Slicer_USE_FILE})
1212
add_subdirectory(Decimation)
1313
add_subdirectory(SurfaceToolbox)
1414
add_subdirectory(DynamicModeler)
15+
add_subdirectory(MeshAlignment)
1516

1617
## NEXT_MODULE
1718

MeshAlignment/CMakeLists.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#-----------------------------------------------------------------------------
2+
set(MODULE_NAME MeshAlignment)
3+
4+
#-----------------------------------------------------------------------------
5+
set(MODULE_PYTHON_SCRIPTS
6+
${MODULE_NAME}.py
7+
)
8+
9+
set(MODULE_PYTHON_RESOURCES
10+
Resources/Icons/${MODULE_NAME}.png
11+
Resources/UI/${MODULE_NAME}.ui
12+
)
13+
14+
#-----------------------------------------------------------------------------
15+
slicerMacroBuildScriptedModule(
16+
NAME ${MODULE_NAME}
17+
SCRIPTS ${MODULE_PYTHON_SCRIPTS}
18+
RESOURCES ${MODULE_PYTHON_RESOURCES}
19+
WITH_GENERIC_TESTS
20+
)
21+
22+
#-----------------------------------------------------------------------------
23+
if(BUILD_TESTING)
24+
25+
# Register the unittest subclass in the main script as a ctest.
26+
# Note that the test will also be available at runtime.
27+
slicer_add_python_unittest(SCRIPT ${MODULE_NAME}.py)
28+
29+
# Additional build-time testing
30+
add_subdirectory(Testing)
31+
endif()

0 commit comments

Comments
 (0)