ITK/Release 4/Modularization/Add a module/src/CMakeLists.txt

From KitwarePublic
< ITK‎ | Release 4‎ | Modularization
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
 
 set(ITKFoo SRC
     itkFoo.cxx
     )
   
  add_library(ITKFoo ${ITKFoo_SRC})
  target_link_libraries(ITKFoo  ITKCommon [...]) # specify all target link libraries
  itk_module_target(ITKFoo)  # itk_module_target() set up the rules for installation and target export of this module