Commit c14acca8 authored by saubatn's avatar saubatn
Browse files

FIXED : Consider tool for CDash. Using camitk_tool() macro automatically...

FIXED : Consider tool for CDash. Using camitk_tool() macro automatically consider the tool on CDash for continuous integration.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@383 ec899d31-69d1-42ba-9299-647d76f65fb3
parent e9c426df
......@@ -467,9 +467,9 @@ macro(camitk_extension)
# build the action extension module (library)
add_library(${${TYPE_EXTENSION_CMAKE}_TARGET_NAME} SHARED ${${EXTENSION_NAME_CMAKE}_SOURCES})
# Update XML Project description adding this target as a subproject of the main CamiTK project with
# its dependencies (in the CMake target point of view)
addSubProject(${${TYPE_EXTENSION_CMAKE}_TARGET_NAME} ${CAMITK_CORE_LIB} ${COMPONENT_EXTENSION_LIBRARIES} ${ACTION_EXTENSION_LIBRARIES} ${TOOL_LIBRARIES})
# Update XML Project description adding this target as a subproject of the main CamiTK project with
# its dependencies (in the CMake target point of view)
addSubProject(${${TYPE_EXTENSION_CMAKE}_TARGET_NAME} ${CAMITK_CORE_LIB} ${COMPONENT_EXTENSION_LIBRARIES} ${ACTION_EXTENSION_LIBRARIES} ${TOOL_LIBRARIES})
# Set the libraries required to link the target
# An action has to be linked with ${CAMITK_CORE_LIB}. As CAMTIK_CORE_LIB is always a DLL/shared lib, there should
......@@ -717,6 +717,10 @@ macro(camitk_tool)
endif()
endif()
# Update XML Project description adding this target as a subproject of the main CamiTK project with
# its dependencies (in the CMake target point of view)
addSubProject(tool-${LIBRARY_NAME})
# 64bits and other platform with relocation needs -fPIC
include(TestCXXAcceptsFlag)
check_cxx_accepts_flag(-fPIC FPIC_FLAG_ACCEPTED)
......
Supports Markdown
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