# declare executables DCMTK_ADD_EXECUTABLE(dcmnet_tests tdimse.cc tdump.cc tests.cc tpool.cc tscuscp.cc tscusession.cc ) # make sure executables are linked to the corresponding libraries DCMTK_TARGET_LINK_MODULES(dcmnet_tests dcmnet) # This macro parses tests.cc and registers all tests DCMTK_ADD_TESTS(dcmnet)