Skip to content
Snippets Groups Projects
CMakeLists.txt 481 B
Newer Older
otb_module_test()
#${otb-module} will be the name of this module and will not need to be
#changed when this module is renamed.

set(${otb-module}Tests
  otbEmptyTestDriver.cxx
  otbEmptyTest.cxx
add_executable(otbEmptyTestDriver ${${otb-module}Tests})
target_link_libraries(otbEmptyTestDriver ${${otb-module}-Test_LIBRARIES})
otb_module_target_label(otbEmptyTestDriver)
otb_add_test(NAME otbDeleteMeEmptyTest
  COMMAND ${otb-module}TestDriver itkEmptyTest "argument1" "..." )