Skip to content
Snippets Groups Projects
Commit 7dbca1f8 authored by Bradley Lowekamp's avatar Bradley Lowekamp
Browse files

Remove ITK prefix from module name and test driver

parent b80cdd97
No related branches found
No related tags found
No related merge requests found
......@@ -3,13 +3,15 @@
get_filename_component( MY_CURENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
file( READ "${MY_CURENT_DIR}/README" DOCUMENTATION )
# itk_module() defines the module dependencies in ITKExternalTemplate
# ITKExternalTemplate depends on ITKCommon
# The testing module in ITKExternalTemplate depends on ITKTestKernel
# and ITKMetaIO(besides ITKExternalTemplate and ITKCore)
# itk_module() defines the module dependencies in ExternalTemplate
# ExternalTemplate depends on ITKCommon
# The testing module in ExternalTemplate depends on ITKTestKernel
# and ITKMetaIO(besides ExternalTemplate and ITKCore)
# By convention those modules outside of ITK are not prefixed with
# ITK.
# define the dependencies of the include module and the tests
itk_module(ITKExternalTemplate
itk_module(ExternalTemplate
DEPENDS
ITKCommon
TEST_DEPENDS
......
......@@ -3,11 +3,11 @@ itk_module_test()
#${itk-module} will be the name of this module and will not need to be
#changed when this module is renamed.
set(ITK${itk-module}Tests
set(${itk-module}Tests
itkEmptyTest.cxx
)
CreateTestDriver(${itk-module} "${${itk-module}-Test_LIBRARIES}" "${ITK${itk-module}Tests}")
CreateTestDriver(${itk-module} "${${itk-module}-Test_LIBRARIES}" "${${itk-module}Tests}")
itk_add_test(NAME itkDeleteMeEmptyTest
COMMAND ${itk-module}TestDriver itkEmptyTest "argument1" "..." )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment