Commit 6e43fd2f authored by jcfr's avatar jcfr
Browse files

COMP: Rename project Slicer3 into Slicer

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15113 3bd1e089-480b-0410-8dfb-8563597acbee
parent cb116d46
......@@ -46,7 +46,7 @@ add_library(BRAINSCommonLib ${BRAINSCommonLib_SRCS})
target_link_libraries(BRAINSCommonLib ITKAlgorithms ITKIO)
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
......@@ -56,7 +56,7 @@ if (Slicer3_SOURCE_DIR)
)
slicer3_install_plugins(${TARGETS})
else (Slicer3_SOURCE_DIR)
else (Slicer_SOURCE_DIR)
INSTALL(TARGETS BRAINSCommonLib
RUNTIME DESTINATION bin
......@@ -72,7 +72,7 @@ else (Slicer3_SOURCE_DIR)
COMPONENT Development)
ENDIF(NOT BRAINSCommonLibProject_INSTALL_NO_DEVELOPMENT)
endif (Slicer3_SOURCE_DIR)
endif (Slicer_SOURCE_DIR)
##HACK NEED BETTER TESTS add_directory( TestLargestForegroundFilledMaskImageFilter )
##HACK NEED BETTER TESTSadd_directory( Test_FindCenterOfBrainFilter )
......
......@@ -91,6 +91,6 @@ CONFIGUREBRAINSORSLICERPROPERTIES(${CLP} VBRAINSDemonWarpPrimary.xml "${${CLP}_S
if(BUILD_TESTING)
add_subdirectory(TestSuite)
endif(BUILD_TESTING)
if(NOT Slicer3_SOURCE_DIR)
if(NOT Slicer_SOURCE_DIR)
add_subdirectory(Example)
endif(NOT Slicer3_SOURCE_DIR)
endif(NOT Slicer_SOURCE_DIR)
......@@ -103,8 +103,8 @@ macro(CONFIGUREBRAINSORSLICERPROPERTIES PROGNAME PROGCLI PROGSOURCES EXTRA_LIBS)
endif(WIN32)
target_link_libraries (${PROGNAME} BRAINSCommonLib ${BRAINS_ITK_LIBS} ${OPTIONAL_DEBUG_LINK_LIBRARIES} ${EXTRA_LIBS} )
if (Slicer3_SOURCE_DIR)
### If building as part of the Slicer3_SOURCE_DIR, then only build the shared object, and not the command line program.
if (Slicer_SOURCE_DIR)
### If building as part of the Slicer_SOURCE_DIR, then only build the shared object, and not the command line program.
add_library(${PROGNAME}Lib SHARED ${CLP_SOURCES} ${PROGCLI_HEADER})
set_target_properties (${PROGNAME}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -117,7 +117,7 @@ macro(CONFIGUREBRAINSORSLICERPROPERTIES PROGNAME PROGCLI PROGSOURCES EXTRA_LIBS)
slicer3_set_plugins_output_path(${PROGNAME})
set(TARGETS ${PROGNAME}Lib ${PROGNAME})
slicer3_install_plugins(${TARGETS})
else (Slicer3_SOURCE_DIR)
else (Slicer_SOURCE_DIR)
### If building outside of Slicer3, then only build the command line executable.
IF(BRAINS_BUILD)
BRAINSGENERATEMODULESCRIPT(${PROGNAME})
......@@ -126,7 +126,7 @@ macro(CONFIGUREBRAINSORSLICERPROPERTIES PROGNAME PROGCLI PROGSOURCES EXTRA_LIBS)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
endif (Slicer3_SOURCE_DIR)
endif (Slicer_SOURCE_DIR)
endmacro(CONFIGUREBRAINSORSLICERPROPERTIES PROGNAME PROGCLI PROGSOURCES)
endif(NOT CONFIGUREBRAINSORSLICERPROPERTIES)
......@@ -157,15 +157,15 @@ macro(CONFIGUREBRAINSORSLICERLIBRARY LIBNAME LIBCLI LIBSOURCES EXTRA_LIBS)
add_library( ${LIBNAME} ${CLP_SOURCES} ${LIBCLI_HEADER})
target_link_libraries (${LIBNAME} BRAINSCommonLib ITKAlgorithms ITKIO ITKBasicFilters ${OPTIONAL_DEBUG_LINK_LIBRARIES} ${EXTRA_LIBS} )
if (Slicer3_SOURCE_DIR)
### If building as part of the Slicer3_SOURCE_DIR, then only build the shared object, and not the command line program.
if (Slicer_SOURCE_DIR)
### If building as part of the Slicer_SOURCE_DIR, then only build the shared object, and not the command line program.
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
# from a build)
slicer3_set_plugins_output_path(${LIBNAME})
set(TARGETS ${LIBNAME})
slicer3_install_plugins(${TARGETS})
else (Slicer3_SOURCE_DIR)
else (Slicer_SOURCE_DIR)
### If building outside of Slicer3, then only build the command line executable.
IF(BRAINS_BUILD)
BRAINSGENERATEMODULESCRIPT(${LIBNAME})
......@@ -174,7 +174,7 @@ macro(CONFIGUREBRAINSORSLICERLIBRARY LIBNAME LIBCLI LIBSOURCES EXTRA_LIBS)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
endif (Slicer3_SOURCE_DIR)
endif (Slicer_SOURCE_DIR)
endmacro(CONFIGUREBRAINSORSLICERLIBRARY LIBNAME LIBCLI LIBSOURCES)
endif(NOT CONFIGUREBRAINSORSLICERLIBRARY)
......@@ -25,11 +25,11 @@ if(NOT CHECKIFSLICER3BUILD)
macro(CHECKIFSLICER3BUILD)
if(BUILD_AGAINST_SLICER3) ## This is only required to build against slicer as an external module.
find_package(Slicer3 REQUIRED)
if (Slicer3_FOUND)
include(${Slicer3_USE_FILE})
else (Slicer3_FOUND)
message(FATAL_ERROR "Cannot build without a Slicer3 build tree or a Slicer3 installation when BUILD_AGAINST_SLICER3 was specified. Please set Slicer3_DIR when BUILD_AGAINST_SLICER3:BOOL=ON.")
endif (Slicer3_FOUND)
if (Slicer_FOUND)
include(${Slicer_USE_FILE})
else (Slicer_FOUND)
message(FATAL_ERROR "Cannot build without a Slicer3 build tree or a Slicer3 installation when BUILD_AGAINST_SLICER3 was specified. Please set Slicer_DIR when BUILD_AGAINST_SLICER3:BOOL=ON.")
endif (Slicer_FOUND)
slicer3_set_default_install_prefix_for_external_projects()
endif(BUILD_AGAINST_SLICER3)
endmacro(CHECKIFSLICER3BUILD)
......
......@@ -29,8 +29,8 @@ if(BatchMake_DIR)
set( bmGridStore ${BatchMake_GRID_STORE_EXE} )
set( bmGridExtractor ${BatchMake_SLICE_EXTRACTOR_EXE} )
find_path(Slicer3_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer3_BINARY_DIR)
find_path(Slicer_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer_BINARY_DIR)
if(WIN32)
set(BatchMake_WRAPPED_APPLICATION_DIR ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE})
else(WIN32)
......@@ -45,9 +45,9 @@ if(BatchMake_DIR)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/bmGridStore.bmm.in"
"${BatchMake_WRAPPED_APPLICATION_DIR}/bmGridStore.bmm")
endif(Slicer3_BINARY_DIR)
endif(Slicer_BINARY_DIR)
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
set(RUNTIME_SUPPORT_FILES
"${BatchMake_WRAPPED_APPLICATION_DIR}/bmSliceExtractor.bmm"
"${BatchMake_WRAPPED_APPLICATION_DIR}/bmGridSend.bmm"
......@@ -55,7 +55,7 @@ if(BatchMake_DIR)
install(FILES ${RUNTIME_SUPPORT_FILES}
DESTINATION ${Slicer_INSTALL_PLUGINS_SHARE_DIR})
endif(Slicer3_SOURCE_DIR)
endif(Slicer_SOURCE_DIR)
endif( BatchMake_DIR)
SET(batchmake_modules
......
......@@ -27,16 +27,16 @@ include(${BatchMake_USE_FILE})
if(BatchMake_DIR)
find_path(Slicer3_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer3_BINARY_DIR)
find_path(Slicer_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer_BINARY_DIR)
find_program(${Slicer3ExeModule}
NAMES ${Slicer3ExeModule}.exe ${Slicer3ExeModule}
PATHS ${Slicer3_BINARY_DIR}/bin/relwithdebinfo
${Slicer3_BINARY_DIR}/bin/release
${Slicer3_BINARY_DIR}/bin/debug
${Slicer3_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer3_BINARY_DIR}/bin
PATHS ${Slicer_BINARY_DIR}/bin/relwithdebinfo
${Slicer_BINARY_DIR}/bin/release
${Slicer_BINARY_DIR}/bin/debug
${Slicer_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer_BINARY_DIR}/bin
${Slicer_INSTALL_PLUGINS_BIN_DIR}/relwithdebinfo
${Slicer_INSTALL_PLUGINS_BIN_DIR}/release
${Slicer_INSTALL_PLUGINS_BIN_DIR}/debug
......@@ -62,7 +62,7 @@ if(BatchMake_DIR)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/SlicerBatchMakeConfig.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/SlicerBatchMakeConfig.h")
endif(Slicer3_BINARY_DIR)
endif(Slicer_BINARY_DIR)
# Find GenerateCLP
find_package(GenerateCLP REQUIRED)
......@@ -84,7 +84,7 @@ if(BatchMake_DIR)
target_link_libraries(${Slicer3BatchModule} BatchMakeLib)
add_dependencies(${Slicer3BatchModule} ${Slicer3ExeModule})
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
# from a build)
......@@ -97,6 +97,6 @@ if(BatchMake_DIR)
install(FILES ${RUNTIME_SUPPORT_FILES}
DESTINATION ${Slicer_INSTALL_PLUGINS_SHARE_DIR}/${PROJECT_NAME})
endif(Slicer3_SOURCE_DIR)
endif(Slicer_SOURCE_DIR)
endif(BatchMake_DIR)
......@@ -50,16 +50,16 @@ if(BatchMake_DIR)
# ${BatchMake_DIR}/bin/${CMAKE_BUILD_TYPE}
# ${BatchMake_DIR}/bin)
find_path(Slicer3_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer3_BINARY_DIR)
find_path(Slicer_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer_BINARY_DIR)
find_program(${Slicer3ExeModule}
NAMES ${Slicer3ExeModule}.exe ${Slicer3ExeModule}
PATHS ${Slicer3_BINARY_DIR}/bin/relwithdebinfo
${Slicer3_BINARY_DIR}/bin/release
${Slicer3_BINARY_DIR}/bin/debug
${Slicer3_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer3_BINARY_DIR}/bin
PATHS ${Slicer_BINARY_DIR}/bin/relwithdebinfo
${Slicer_BINARY_DIR}/bin/release
${Slicer_BINARY_DIR}/bin/debug
${Slicer_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer_BINARY_DIR}/bin
${Slicer_INSTALL_PLUGINS_BIN_DIR}/relwithdebinfo
${Slicer_INSTALL_PLUGINS_BIN_DIR}/release
${Slicer_INSTALL_PLUGINS_BIN_DIR}/debug
......@@ -92,7 +92,7 @@ if(BatchMake_DIR)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/SlicerBatchMakeConfig.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/SlicerBatchMakeConfig.h")
endif(Slicer3_BINARY_DIR)
endif(Slicer_BINARY_DIR)
# Find GenerateCLP
find_package(GenerateCLP REQUIRED)
......@@ -114,7 +114,7 @@ if(BatchMake_DIR)
target_link_libraries(${Slicer3BatchModule} BatchMakeLib)
add_dependencies(${Slicer3BatchModule} ${Slicer3ExeModule})
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
......@@ -131,6 +131,6 @@ if(BatchMake_DIR)
install(FILES ${RUNTIME_SUPPORT_FILES}
DESTINATION ${Slicer_INSTALL_PLUGINS_SHARE_DIR}/${PROJECT_NAME})
endif(Slicer3_SOURCE_DIR)
endif(Slicer_SOURCE_DIR)
endif(BatchMake_DIR)
......@@ -27,16 +27,16 @@ include(${BatchMake_USE_FILE})
if(BatchMake_DIR)
find_path(Slicer3_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer3_BINARY_DIR)
find_path(Slicer_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer_BINARY_DIR)
find_program(${Slicer3ExeModule}
NAMES ${Slicer3ExeModule}.exe ${Slicer3ExeModule}
PATHS ${Slicer3_BINARY_DIR}/bin/relwithdebinfo
${Slicer3_BINARY_DIR}/bin/release
${Slicer3_BINARY_DIR}/bin/debug
${Slicer3_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer3_BINARY_DIR}/bin
PATHS ${Slicer_BINARY_DIR}/bin/relwithdebinfo
${Slicer_BINARY_DIR}/bin/release
${Slicer_BINARY_DIR}/bin/debug
${Slicer_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer_BINARY_DIR}/bin
${Slicer_INSTALL_PLUGINS_BIN_DIR}/relwithdebinfo
${Slicer_INSTALL_PLUGINS_BIN_DIR}/release
${Slicer_INSTALL_PLUGINS_BIN_DIR}/debug
......@@ -62,7 +62,7 @@ if(BatchMake_DIR)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/SlicerBatchMakeConfig.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/SlicerBatchMakeConfig.h")
endif(Slicer3_BINARY_DIR)
endif(Slicer_BINARY_DIR)
# Find GenerateCLP
find_package(GenerateCLP REQUIRED)
......@@ -84,7 +84,7 @@ if(BatchMake_DIR)
target_link_libraries(${Slicer3BatchModule} BatchMakeLib)
add_dependencies(${Slicer3BatchModule} ${Slicer3ExeModule})
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
# from a build)
......@@ -97,6 +97,6 @@ if(BatchMake_DIR)
install(FILES ${RUNTIME_SUPPORT_FILES}
DESTINATION ${Slicer_INSTALL_PLUGINS_SHARE_DIR}/${PROJECT_NAME})
endif(Slicer3_SOURCE_DIR)
endif(Slicer_SOURCE_DIR)
endif(BatchMake_DIR)
......@@ -27,16 +27,16 @@ include(${BatchMake_USE_FILE})
if(BatchMake_DIR)
find_path(Slicer3_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer3_BINARY_DIR)
find_path(Slicer_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer_BINARY_DIR)
find_program( ${Slicer3ExeModule}Path
NAMES ${Slicer3ExeModule}.exe ${Slicer3ExeModule}
PATHS ${Slicer3_BINARY_DIR}/bin/relwithdebinfo
${Slicer3_BINARY_DIR}/bin/release
${Slicer3_BINARY_DIR}/bin/debug
${Slicer3_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer3_BINARY_DIR}/bin
PATHS ${Slicer_BINARY_DIR}/bin/relwithdebinfo
${Slicer_BINARY_DIR}/bin/release
${Slicer_BINARY_DIR}/bin/debug
${Slicer_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer_BINARY_DIR}/bin
${Slicer_INSTALL_PLUGINS_BIN_DIR}/relwithdebinfo
${Slicer_INSTALL_PLUGINS_BIN_DIR}/release
${Slicer_INSTALL_PLUGINS_BIN_DIR}/debug
......@@ -61,7 +61,7 @@ if(BatchMake_DIR)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/../GenericBatchMakeModule/BatchMakeModuleConfig.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/BatchMakeModuleConfig.h")
endif(Slicer3_BINARY_DIR)
endif(Slicer_BINARY_DIR)
# Find GenerateCLP
find_package(GenerateCLP REQUIRED)
......@@ -84,7 +84,7 @@ if(BatchMake_DIR)
add_dependencies(${Slicer3BatchModule} ${Slicer3ExeModule})
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
# from a build)
......@@ -100,6 +100,6 @@ if(BatchMake_DIR)
install(FILES ${RUNTIME_SUPPORT_FILES}
DESTINATION ${Slicer_INSTALL_PLUGINS_SHARE_DIR}/${PROJECT_NAME})
endif(Slicer3_SOURCE_DIR)
endif(Slicer_SOURCE_DIR)
endif(BatchMake_DIR)
......@@ -27,15 +27,15 @@ include(${BatchMake_USE_FILE})
if(BatchMake_DIR)
find_path(Slicer3_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer3_BINARY_DIR)
find_path(Slicer_BINARY_DIR NAMES Base/Logic/SlicerBaseLogicInit.cxx)
if(Slicer_BINARY_DIR)
find_program( ${Slicer3ExeModule}Path
NAMES ${Slicer3ExeModule}.exe ${Slicer3ExeModule}
PATHS ${Slicer3_BINARY_DIR}/bin/relwithdebinfo
${Slicer3_BINARY_DIR}/bin/release
${Slicer3_BINARY_DIR}/bin/debug
${Slicer3_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer3_BINARY_DIR}/bin
PATHS ${Slicer_BINARY_DIR}/bin/relwithdebinfo
${Slicer_BINARY_DIR}/bin/release
${Slicer_BINARY_DIR}/bin/debug
${Slicer_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
${Slicer_BINARY_DIR}/bin
${Slicer_INSTALL_PLUGINS_BIN_DIR}/relwithdebinfo
${Slicer_INSTALL_PLUGINS_BIN_DIR}/release
${Slicer_INSTALL_PLUGINS_BIN_DIR}/debug
......@@ -58,7 +58,7 @@ if(BatchMake_DIR)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/../GenericBatchMakeModule/BatchMakeModuleConfig.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/BatchMakeModuleConfig.h")
endif(Slicer3_BINARY_DIR)
endif(Slicer_BINARY_DIR)
# Find GenerateCLP
find_package(GenerateCLP REQUIRED)
......@@ -81,7 +81,7 @@ if(BatchMake_DIR)
add_dependencies(${Slicer3BatchModule} ${Slicer3ExeModule})
if (Slicer3_SOURCE_DIR)
if (Slicer_SOURCE_DIR)
# install each target in the production area (where it would appear in an
# installation) and install each target in the developer area (for running
# from a build)
......@@ -97,6 +97,6 @@ if(BatchMake_DIR)
install(FILES ${RUNTIME_SUPPORT_FILES}
DESTINATION ${Slicer_INSTALL_PLUGINS_SHARE_DIR}/${PROJECT_NAME})
endif(Slicer3_SOURCE_DIR)
endif(Slicer_SOURCE_DIR)
endif(BatchMake_DIR)
......@@ -24,7 +24,7 @@ if(BUILD_TESTING)
set (CLP CLIModule4Test)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -40,7 +40,7 @@ endif()
set (CLP DiffusionTensorTest)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -55,7 +55,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
#set (CLP DiffusionWeightedTest)
#set ( ${CLP}_SOURCE ${CLP}.cxx)
#generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
#generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
#add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
#set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -71,7 +71,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP DiffusionTensorEstimation)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_executable(${CLP} ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP})
link_directories(${MRML_LIB_DIR} ${vtkTeem_LIB_DIR} ${SlicerBaseLogic_SOURCE_DIR}
......@@ -87,7 +87,7 @@ include_directories(
set (CLP DiffusionTensorMathematics)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_executable(${CLP} ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP})
link_directories(${MRML_LIB_DIR} ${vtkTeem_LIB_DIR})
......@@ -100,7 +100,7 @@ include_directories(
set (CLP OrientImage)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -116,7 +116,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP LinearRegistration)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -130,7 +130,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP RigidRegistration)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -145,7 +145,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP AffineRegistration)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -160,7 +160,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP BSplineDeformableRegistration)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -175,7 +175,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP TestGridTransformRegistration)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -190,7 +190,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP CheckerBoard)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
set_target_properties (${CLP}Lib PROPERTIES COMPILE_FLAGS "-Dmain=ModuleEntryPoint")
......@@ -204,7 +204,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP ResampleVolume)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -219,7 +219,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP PolyDataToLabelmap)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -234,7 +234,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP GaussianBlurImageFilter)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -250,7 +250,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP ConfidenceConnected)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -265,7 +265,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP ExecutionModelTour)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/BillsLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/BillsLogo.h)
add_executable(${CLP} ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP})
target_link_libraries (${CLP} MRML)
......@@ -276,7 +276,7 @@ target_link_libraries (${CLP} MRML)
set (CLP ImageReadDicomWrite)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp (${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp (${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -291,7 +291,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP CurvatureAnisotropicDiffusion)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -306,7 +306,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP GradientAnisotropicDiffusion)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -320,7 +320,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP MedianImageFilter)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -336,7 +336,7 @@ add_subdirectory(DicomToNrrdConverter)
# set (CLP DWIDicomLoad)
# set ( ${CLP}_SOURCE ${CLP}.cxx)
# generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)
# generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/NAMICLogo.h)
# add_executable(${CLP} ${${CLP}_SOURCE})
# slicer3_set_plugins_output_path(${CLP})
# target_link_libraries (${CLP} ITKIO ITKBasicFilters)
......@@ -350,7 +350,7 @@ add_subdirectory(DicomToNrrdConverter)
set (CLP HistogramMatching)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -365,7 +365,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP OtsuThresholdImageFilter)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/ITKLogo.h)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer_SOURCE_DIR}/Resources/ITKLogo.h)
add_library(${CLP}Lib SHARED ${${CLP}_SOURCE})
slicer3_set_plugins_output_path(${CLP}Lib)
......@@ -380,7 +380,7 @@ target_link_libraries (${CLP} ${CLP}Lib)
set (CLP OtsuThresholdSegmentation)
set ( ${CLP}_SOURCE ${CLP}.cxx)
generateclp(${CLP}_SOURCE ${CLP}.xml ${Slicer3_SOURCE_DIR}/Resources/NAMICLogo.h)