diff --git a/Modules/CoreCmdApps/CMakeLists.txt b/Modules/CoreCmdApps/CMakeLists.txt index 5841e7e289..08120cb8a3 100644 --- a/Modules/CoreCmdApps/CMakeLists.txt +++ b/Modules/CoreCmdApps/CMakeLists.txt @@ -1,6 +1,8 @@ option(BUILD_CoreCmdApps "Build command-line apps of the MitkCore module" OFF) if(BUILD_CoreCmdApps OR MITK_BUILD_ALL_APPS) mitkFunctionCreateCommandLineApp(NAME FileConverter) mitkFunctionCreateCommandLineApp(NAME ImageTypeConverter) + mitkFunctionCreateCommandLineApp(NAME Fuse3Dto4DImage) + mitkFunctionCreateCommandLineApp(NAME Split4Dto3DImages) endif() diff --git a/Modules/ModelFit/cmdapps/Fuse3Dto4DImage.cpp b/Modules/CoreCmdApps/Fuse3Dto4DImage.cpp similarity index 100% rename from Modules/ModelFit/cmdapps/Fuse3Dto4DImage.cpp rename to Modules/CoreCmdApps/Fuse3Dto4DImage.cpp diff --git a/Modules/ModelFit/cmdapps/Split4Dto3DImages.cpp b/Modules/CoreCmdApps/Split4Dto3DImages.cpp similarity index 100% rename from Modules/ModelFit/cmdapps/Split4Dto3DImages.cpp rename to Modules/CoreCmdApps/Split4Dto3DImages.cpp diff --git a/Modules/ModelFit/cmdapps/CMakeLists.txt b/Modules/ModelFit/cmdapps/CMakeLists.txt index 17f5096d03..bbed8c8fdc 100644 --- a/Modules/ModelFit/cmdapps/CMakeLists.txt +++ b/Modules/ModelFit/cmdapps/CMakeLists.txt @@ -1,35 +1,33 @@ option(BUILD_ModelFitMiniApps "Build commandline tools for the ModelFit module" OFF) if(BUILD_ModelFitMiniApps OR MITK_BUILD_ALL_APPS) # needed include directories include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) # list of miniapps # if an app requires additional dependencies # they are added after a "^^" and separated by "_" set( miniapps GenericFitting^^ PixelDump^^ - Fuse3Dto4DImage^^ - Split4Dto3DImages^^ ) foreach(miniapp ${miniapps}) # extract mini app name and dependencies string(REPLACE "^^" "\\;" miniapp_info ${miniapp}) set(miniapp_info_list ${miniapp_info}) list(GET miniapp_info_list 0 appname) list(GET miniapp_info_list 1 raw_dependencies) string(REPLACE "_" "\\;" dependencies "${raw_dependencies}") set(dependencies_list ${dependencies}) mitkFunctionCreateCommandLineApp( NAME ${appname} DEPENDS MitkCore MitkModelFit ${dependencies_list} ) endforeach() endif(BUILD_ModelFitMiniApps OR MITK_BUILD_ALL_APPS)