Skip to content

Commit

Permalink
STYLE : just add files nothing working
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelleLeroux committed Jul 3, 2024
1 parent c5b0098 commit daf6611
Show file tree
Hide file tree
Showing 10 changed files with 729 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ add_subdirectory(AREG)
add_subdirectory(AutoMatrix)
add_subdirectory(AutoCrop3D)

add_subdirectory(MRI2CBCT)
add_subdirectory(MRI2CBCT)
add_subdirectory(MRI2CBCT_CLI)
## NEXT_MODULE

#-----------------------------------------------------------------------------
Expand Down
31 changes: 31 additions & 0 deletions MRI2CBCT/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#-----------------------------------------------------------------------------
set(MODULE_NAME MRI2CBCT)

#-----------------------------------------------------------------------------
set(MODULE_PYTHON_SCRIPTS
${MODULE_NAME}.py
)

set(MODULE_PYTHON_RESOURCES
Resources/Icons/${MODULE_NAME}.png
Resources/UI/${MODULE_NAME}.ui
)

#-----------------------------------------------------------------------------
slicerMacroBuildScriptedModule(
NAME ${MODULE_NAME}
SCRIPTS ${MODULE_PYTHON_SCRIPTS}
RESOURCES ${MODULE_PYTHON_RESOURCES}
WITH_GENERIC_TESTS
)

#-----------------------------------------------------------------------------
if(BUILD_TESTING)

# Register the unittest subclass in the main script as a ctest.
# Note that the test will also be available at runtime.
slicer_add_python_unittest(SCRIPT ${MODULE_NAME}.py)

# Additional build-time testing
add_subdirectory(Testing)
endif()
Loading

0 comments on commit daf6611

Please sign in to comment.