| 1 |
#-------------------------------------------- |
| 2 |
# CamiTK Action Extension |
| 3 |
#-------------------------------------------- |
| 4 |
camitk_extension( |
| 5 |
@if@ $actions$ |
| 6 |
ACTION_EXTENSION |
| 7 |
@endif@ |
| 8 |
@if@ $components$ |
| 9 |
COMPONENT_EXTENSION |
| 10 |
@endif@ |
| 11 |
@if@ $viewers$ |
| 12 |
VIEWER_EXTENSION |
| 13 |
@endif@ |
| 14 |
TARGET_NAME "$kebabCase(name)$" |
| 15 |
INSTALL_ALL_HEADERS |
| 16 |
DESCRIPTION "$description$" |
| 17 |
CAMITK_FILE "$camitkFile$" |
| 18 |
$extensionDependencies$ |
| 19 |
|
| 20 |
# |
| 21 |
# Other supported options: |
| 22 |
# |
| 23 |
# [NEEDS_ITK] |
| 24 |
# [NEEDS_LIBXML2] |
| 25 |
# [NEEDS_OPENCV] |
| 26 |
# [NEEDS_IGSTK] |
| 27 |
# [NEEDS_XSD] |
| 28 |
# [NEEDS_GDCM] |
| 29 |
# [NEEDS_ACTION_EXTENSION action1 action2 ...] |
| 30 |
# [NEEDS_VIEWER_EXTENSION viewer1 viewer2 ...] |
| 31 |
# [NEEDS_COMPONENT_EXTENSION component1 component2 ...] |
| 32 |
# [NEEDS_CEP_LIBRARIES CEPLib1 CEPLib2 ...] |
| 33 |
# [INCLUDE_DIRECTORIES dir1 dir2 ...] |
| 34 |
# [DEFINES flag1 flag2 ...] |
| 35 |
# [CXX_FLAGS flag1 flag2 ...] |
| 36 |
# [EXTERNAL_SOURCES file1 file2 ...] |
| 37 |
# [EXTERNAL_LIBRARIES lib1 lib2 ...] |
| 38 |
# [HEADERS_TO_INSTALL header1.h header2.h ...] |
| 39 |
# [INSTALL_ALL_HEADERS] |
| 40 |
# Activate test: |
| 41 |
#ENABLE_AUTO_TEST |
| 42 |
# Limit tested files to a list |
| 43 |
# By default tests use all files in subdir testdata/ for component or all installed testdata files for actions |
| 44 |
#TEST_FILES file1 file2 ... |
| 45 |
# for component extension, test can be relaxed to lower levels using the AUTO_TEST_LEVEL option |
| 46 |
# for action extension, you can add an integration test using the ENABLE_INTEGRATION_TEST option |
| 47 |
) |
| 48 |
|
| 49 |
# For component extension, additional action autotest can be added. |
| 50 |
# If this extension provides a new component extension, it is possible to check its integration |
| 51 |
# with previously defined actions (in CamiTK SDK or other CEPs) by using the |
| 52 |
# camitk_additional_action_test macro. |
| 53 |
# Example: |
| 54 |
# camitk_additional_action_test(ACTION_EXTENSIONS action1 action2 |
| 55 |
# TEST_FILES file1 file2 |
| 56 |
# ) |
| 57 |
# will add automatic test for action1 and action2 using file1 and file2 (provided by this extension in testdata subdir) |
| 58 |
|
| 59 |
# Use the camitk_disable_tests to disable a test permanently |
| 60 |
# camitk_disable_tests(TESTS testname1 [testname2 ...] |
| 61 |
# REASON "explanation") |
| 62 |
|
| 63 |
# Use camitk_tests_requirement to specify a requirement for a test |
| 64 |
# camitk_tests_requirement(TESTS testname1 [testname2 ...] |
| 65 |
# REQUIRES requirement |
| 66 |
# REASON "explanantion") |