Commit e34b03e7 authored by saubatn's avatar saubatn
Browse files

NEW : action_extension and component_extension macros are now merged into one...

NEW :	action_extension and component_extension macros are now merged into one single macro : camitk_extension.
	usage : camitk_extension(ACTION_EXTENSION ...) or camitk_extension(COMPONENT_EXTENSION ...).
FIXED :	wizard has been updated correspondingly.
ADD :	Deprecated macros action_extension and component_extension are back and warn user to configure it project using camitk_extension.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@213 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 711ce648
......@@ -8,3 +8,4 @@ camitk_extension(
LIBRARIES tetgen
NEEDS_COMPONENT_EXTENSION vtkmesh
DEFINES COMPILE_MESHPROCESSING_ACTION_API TETLIBRARY)
......@@ -772,3 +772,16 @@ endmacro()
# TODO write a viewer_extension macro in CamiTK
# Old macro to configure a new action to the framework
# Use camitk_extension macro instead
macro(action_extension)
message(WARNING "Deprecated macro action_extension detected : please use camitk_extension(ACTION_EXTENSION ...) instead.")
camitk_extension(ACTION_EXTENSION ${ARGN})
endmacro()
# Old macro to configure a new component to the framework
# Use camitk_extension macro instead
macro(component_extension)
message(WARNING "Deprecated macro component_extension detected : please use camitk_extension(COMPONENT_EXTENSION ...) instead.")
camitk_extension(COMPONENT_EXTENSION ${ARGN})
endmacro()
\ No newline at end of file
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