Skip to content
Snippets Groups Projects
Commit b7968d2f authored by Kasper Marstal's avatar Kasper Marstal
Browse files

STYLE: Remove module names elx prefix

parent 27392ab4
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ macro( _elxmodules_initialize ) ...@@ -42,7 +42,7 @@ macro( _elxmodules_initialize )
set( ELASTIX_MODULES ) set( ELASTIX_MODULES )
file( GLOB_RECURSE MODULE_FILES RELATIVE "${CMAKE_SOURCE_DIR}" file( GLOB_RECURSE MODULE_FILES RELATIVE "${CMAKE_SOURCE_DIR}"
"${CMAKE_SOURCE_DIR}/Modules/*/elxModule*.cmake" "${CMAKE_SOURCE_DIR}/Modules/*/Module*.cmake"
) )
message( STATUS "Found the following elastix modules:") message( STATUS "Found the following elastix modules:")
......
...@@ -35,7 +35,8 @@ include_directories( ${Boost_INCLUDE_DIRS} ) ...@@ -35,7 +35,8 @@ include_directories( ${Boost_INCLUDE_DIRS} )
# Build SuperElastix # Build SuperElastix
# For now we just enable all modules # For now we just enable all modules
include( elxModules ) include( elxModules )
elxmodule_enable( elxModuleCore ) elxmodule_enable( ModuleCore )
elxmodule_enable( ModuleElastix )
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# Testing # Testing
......
set( MODULE elxModuleCore ) set( MODULE ModuleCore )
# Export include files # Export include files
set( ${MODULE}_INCLUDE_DIRS set( ${MODULE}_INCLUDE_DIRS
...@@ -17,6 +17,5 @@ set( ${MODULE}_SOURCE_FILES ...@@ -17,6 +17,5 @@ set( ${MODULE}_SOURCE_FILES
) )
# Compile library # Compile library
add_library( ${MODULE} STATIC "${${MODULE}_SOURCE_FILES}" ) add_library( ${MODULE} STATIC "${${MODULE}_SOURCE_FILES}" )
target_link_libraries( ${MODULE} ${ELASTIX_LIBRARIES} ) target_link_libraries( ${MODULE} ${ELASTIX_LIBRARIES} )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment