1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#
# 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 camitk_extension(COMPONENT_EXTENSION ...) macro apropriately
# find components
get_subdirectories(COMPONENTS_LIST)
# Add subdirectories in CMake project
foreach(COMPONENT_NAME ${COMPONENTS_LIST})
add_subdirectory(${COMPONENT_NAME})
endforeach()
|