Commit 8b96b104 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED make auto test visible in CEP code generator

and remove deprecated DEFAULT option
parent 5b92e4cc
camitk_application(DEFAULT
NEEDS_XSD
camitk_application(NEEDS_XSD
NEEDS_XERCESC
NEEDS_CEP_LIBRARIES cepgenerator cepcoreschema
CEP_NAME SDK
......
camitk_application(DEFAULT
NEEDS_XSD
camitk_application(NEEDS_XSD
NEEDS_XERCESC
NEEDS_CEP_LIBRARIES cepgenerator cepcoreschema
CEP_NAME SDK
......
# Call CamiTK CMake Macro to define the @EXTTYPELOW@
camitk_extension( @EXTTYPEHIGH@_EXTENSION
DEFAULT
INSTALL_ALL_HEADERS
DESCRIPTION "@EXTENSIONDESCRIPTION@"
@NEEDEDLIBS@
@NEEDEDCEPLIBRARIES@
@NEEDEDCOMPEXT@
@NEEDEDACTIONEXT@
)
camitk_extension(@EXTTYPEHIGH@_EXTENSION
INSTALL_ALL_HEADERS
DESCRIPTION "@EXTENSIONDESCRIPTION@"
@NEEDEDLIBS@
@NEEDEDCEPLIBRARIES@
@NEEDEDCOMPEXT@
@NEEDEDACTIONEXT@
# Activate test:
#AUTO_TEST
# Limit tested files to a list
# By default tests use all testdata/ files for component or all installed testdata files for actions
#TEST_FILES file1 file2 ...
# for component extension, test can be relaxed to lower levels using the AUTO_TEST_LEVEL option
)
# mixed component is using vtk and vtk image components
camitk_extension(COMPONENT_EXTENSION DEFAULT
camitk_extension(COMPONENT_EXTENSION
NEEDS_COMPONENT_EXTENSION vtkmesh vtkimage
HEADERS_TO_INSTALL MixedComponent.h # show how to export headers for using it in another CEP
AUTO_TEST
......
# Call CamiTK CMake Macro to define the component
camitk_extension( COMPONENT_EXTENSION
DEFAULT
INSTALL_ALL_HEADERS
DESCRIPTION "This tutorial show how to overide the pointPicked and cellPicked method to interact directly with your component"
NEEDS_COMPONENT_EXTENSION vtkmesh
......
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