Commit f28b5154 authored by promayon's avatar promayon

FIXED Stage #1.1 remove old tree structures


git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@734 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 92a22de6
#
# DO NOT EDIT THIS FILE (unless you REALLY know what you are doing)
#
# To add a component, just add a subdirectory (the component name is the
# directory name). Add all your code there and a text file called
# CMakeLists.txt
# In your CMakeLists.txt, use the action_extension() macro apropriately
# find components
get_subdirectories(ACTIONS_LIST)
# Add subdirectories in CMake project
foreach(ACTION_NAME ${ACTIONS_LIST})
add_subdirectory(${ACTION_NAME})
endforeach()
#
# DO NOT EDIT THIS FILE (unless you REALLY know what you are doing)
#
# To add a component, just add a subdirectory (the component name is the
# directory name). Add all your code there and a text file called
# CMakeLists.txt
# In your CMakeLists.txt, use the action_extension() macro apropriately
# Add subdirectories in CMake project but respect a specific
# order (i.e., consider actions inter dependencies)
add_subdirectory(imagelut)
add_subdirectory(reconstruction)
add_subdirectory(volumerendering)
add_subdirectory(multipicking)
add_subdirectory(itksegmentation)
add_subdirectory(itkfilters)
add_subdirectory(arbitraryslice)
add_subdirectory(showin3d)
add_subdirectory(cropvolume)
add_subdirectory(pixelcolorchanger)
#
# DO NOT EDIT THIS FILE (unless you REALLY know what you are doing)
#
# To add a component, just add a subdirectory (the component name is the
# directory name). Add all your code there and a text file called
# CMakeLists.txt
# In your CMakeLists.txt, use the action_extension() macro apropriately
# find components
get_subdirectories(ACTIONS_MESH_LIST)
# Add subdirectories in CMake project
foreach(ACTION_MESH_NAME ${ACTIONS_MESH_LIST})
add_subdirectory(${ACTION_MESH_NAME})
endforeach()
\ No newline at end of file
#
# DO NOT EDIT THIS FILE (unless you REALLY know what you are doing)
#
# To add an application, just add a subdirectory (the application name is the
# directory name). Add all your code there and a text file called
# CMakeLists.txt
# In your CMakeLists.txt, use the camitk_application() macro apropriately
# Find applications
get_subdirectories(APPLICATIONS_LIST)
# --- add every given application
foreach(APPLICATION_NAME ${APPLICATIONS_LIST})
add_subdirectory(${APPLICATION_NAME})
endforeach()
#
# DO NOT EDIT THIS FILE (unless you REALLY know what you are doing)
#
# To add a component, just add a subdirectory (the component name is the
# directory name). Add all your code there and a text file called
# CMakeLists.txt
# In your CMakeLists.txt, use the component_extension() macro apropriately
# Add subdirectories in CMake project but respect a specific
# order (i.e., consider components inter dependencies)
get_subdirectories(COMPONENTS_LIST)
# Add subdirectories in CMake project
foreach(COMPONENT_NAME ${COMPONENTS_LIST})
add_subdirectory(${COMPONENT_NAME})
endforeach()
project(TOOLS)
# list of TOOLS (option)
set(TOOLS_LIST lml pml qcustomplot mml coreschema)
# qtpropertybrowser is mandatory
set(TOOLS_SUBDIRS qtpropertybrowser)
#set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "Verbose makefile" FORCE)
set(TOOLS_INCLUDE_DIRECTORIES ${CAMITK_INCLUDE_DIRECTORIES})
set(TOOLS_LIBRARIES ) # Those libraries do not depend on anything...
foreach(TOOL_NAME ${TOOLS_LIST})
string(TOUPPER ${TOOL_NAME} TOOL_NAME_CMAKE)
if(NOT CAMITK_TOOL_${TOOL_NAME_CMAKE}_INTERNAL)
message(STATUS "Checking ${TOOL_NAME}")
# add option to enable/disable this tool
set(TOOL_${TOOL_NAME_CMAKE} FALSE CACHE BOOL "Build tool ${TOOL_NAME}")
set(CAMITK_TOOL_${TOOL_NAME_CMAKE}_INTERNAL TRUE CACHE INTERNAL "Is variable CAMITK_TOOL_${TOOL_NAME_CMAKE}_INTERNAL already created?")
mark_as_advanced(CAMITK_TOOL_${TOOL_NAME_CMAKE}_INTERNAL)
endif()
endforeach()
foreach(TOOL_NAME ${TOOLS_LIST})
string(TOUPPER ${TOOL_NAME} TOOL_NAME_CMAKE)
if (TOOL_${TOOL_NAME_CMAKE})
set(TOOLS_SUBDIRS ${TOOLS_SUBDIRS} ${TOOL_NAME})
endif()
endforeach()
# Add subdirectories in CMake project
foreach(TOOL_NAME ${TOOLS_SUBDIRS})
add_subdirectory(${TOOL_NAME})
message(STATUS "Building tool ${TOOL_NAME}")
endforeach()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment