Skip to content
Snippets Groups Projects
Commit 00b1895b authored by FBerendsen's avatar FBerendsen
Browse files

ENH: Moved ExampleComponents files to root Component directory

parent bc09e008
No related branches found
No related tags found
No related merge requests found
Showing
with 35 additions and 0 deletions
......@@ -80,6 +80,7 @@ endif()
include( elxModules )
elxmodule_enable( ModuleCore )
elxmodule_enable( ModuleElastix )
elxmodule_enable( ModuleExamples )
# TODO: Build tests depending on enabled modules
......
set( MODULE ModuleExamples )
# Export include files
set( ${MODULE}_INCLUDE_DIRS
${${MODULE}_SOURCE_DIR}/include
)
# Collect header files for Visual Studio Project
file(GLOB ${MODULE}_HEADER_FILES "${${MODULE}_SOURCE_DIR}/include/*.*")
# Export libraries
set( ${MODULE}_LIBRARIES
${MODULE}
)
# Module source files
set( ${MODULE}_SOURCE_FILES
${${MODULE}_SOURCE_DIR}/src/Example3rdPartyCode.cxx
${${MODULE}_SOURCE_DIR}/src/Example4thPartyCode.cxx
${${MODULE}_SOURCE_DIR}/src/GDOptimizer3rdPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/src/GDOptimizer4thPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/src/Metric3rdPartyWrapper.cxx
${${MODULE}_SOURCE_DIR}/src/Metric4thPartyWrapper.cxx
${${MODULE}_SOURCE_DIR}/src/SSDMetric3rdPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/src/SSDMetric4thPartyComponent.cxx
${${MODULE}_SOURCE_DIR}/src/TransformComponent1.cxx
${${MODULE}_SOURCE_DIR}/src/MetricComponent1.cxx
)
# Compile library
add_library( ${MODULE} STATIC "${${MODULE}_SOURCE_FILES}" ${${MODULE}_HEADER_FILES})
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