# Specify the name of my project PROJECT(ConfidenceConnected) #include some macros from another file... INCLUDE(${CMAKE_SOURCE_DIR}/IJMacros.txt) #The following lines are required to use Dart #ENABLE_TESTING() #INCLUDE(Dart) # Our program depends on ITK SET(Required_Packages ITK ) #this foreach loads all of the packages that you specified as required. #It shouldn't need to be modified. FOREACH(Package ${Required_Packages}) LOADPACKAGE(${Package}) ENDFOREACH(Package) # Specify the necessary ITK libraries. SET(Libraries ITKCommon ITKIO ) # Specify the resulting executable and its dependencies SET(CurrentExe "ConfidenceConnected") ADD_EXECUTABLE(${CurrentExe} ConfidenceConnected.cxx) TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries})