Commit b4256bcd authored by saubatn's avatar saubatn
Browse files

FEATURE 481 (task): Add dependencies of application-testcomponent ->...

FEATURE 481 (task): Add dependencies of application-testcomponent -> action-application and application-testaction -> all components. Dependencies configured in the extension (not the application).

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@1524 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 51f5e21e
......@@ -897,14 +897,26 @@ macro(camitk_extension)
endforeach()
endif()
# 5th DEPENDENCY ON TESTING APPLICATION
# 5th DEPENDENCY ON TESTING APPLICATION
# Those projects are used to run unitarian test on ACTION / COMPONENT extensions.
set(APPLICATIONS_DEPENDENCY_LIST "")
if(${EXTENSION_NAME_CMAKE}_TEST_APPLICATION AND NOT PACKAGING_NSIS)
add_dependencies(${${TYPE_EXTENSION_CMAKE}_TARGET_NAME} application-test${TYPE_EXTENSION}s)
set(APPLICATIONS_DEPENDENCY_LIST "application-test${TYPE_EXTENSION}s")
# Add this dependencies for automatically constructing application-testactions components dependencies
endif()
if((CEP_NAME STREQUAL "SDK") OR (CEP_NAME STREQUAL "MODELING") OR (CEP_NAME STREQUAL "IMAGING"))
# 6th TEST-COMPONENT APPLICATION DEPENDENCY ON THIS COMPONENT
if(${EXTENSION_NAME_CMAKE}_COMPONENT_EXTENSION AND ${EXTENSION_NAME_CMAKE}_TEST_APPLICATION AND NOT PACKAGING_NSIS)
add_dependencies(application-testactions ${COMPONENT_TARGET_NAME})
endif()
# 7th TEST-ACTION APPLICATION DEPENDENCY ON ACTION-APPLICATION
if(${TYPE_EXTENSION_CMAKE}_TARGET_NAME STREQUAL "action-application")
add_dependencies(application-testcomponents action-application)
endif()
endif()
#########################################################################
......
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