Commit 9f0d956e authored by Bradley Lowekamp's avatar Bradley Lowekamp
Browse files

Use itk-module variable in test, to reduce amount of changes needed

parent 61685715
itk_module_test()
set(ITKExternalTemplateTests
itkExternalTemplateTest.cxx
#${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
itkExternalTemplateTest.cxx
)
CreateTestDriver(ITKExternalTemplate "${ITKExternalTemplate-Test_LIBRARIES}" "${ITKExternalTemplateTests}")
CreateTestDriver(${itk-module} "${${itk-module}-Test_LIBRARIES}" "${${itk-module}Tests}")
itk_add_test(NAME itkExternalTemplateTest
COMMAND ITKExternalTemplateTestDriver itkExternalTemplateTest)
COMMAND ${itk-module}TestDriver itkExternalTemplateTest)
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