# declare executables DCMTK_ADD_EXECUTABLE(dcmseg_tests tbigdim.cc tests.cc tutils.cc troundtrip.cc tconcat_binary.cc ) # make sure executables are linked to the corresponding libraries DCMTK_TARGET_LINK_MODULES(dcmseg_tests dcmseg dcmfg dcmiod dcmdata oflog ofstd) # This macro parses tests.cc and registers all tests DCMTK_ADD_TESTS(dcmseg)