[Insight-users] Help on build ITK example-binarythresholdfilter

yingli fan yf34 at drexel.edu
Fri Jan 7 08:18:18 EST 2005


Hi luis,

Here is the Cmakelist.txt file. Actually, I did not change anything in ITK,
I just update my computer as routine. Before I can build it , no any
question.

Thanks !

 
PROJECT(thresholdexample)
INCLUDE_REGULAR_EXPRESSION("^.*$")

FIND_PACKAGE(ITK)
IF (ITK_FOUND)
   INCLUDE (${ITK_USE_FILE})
ELSE (ITK_FOUND)
      MESSAGE (FATAL_ERROR
      "ITK NOT FOUND. PLEASE SET ITK_DIR.")
ENDIF(ITK_FOUND)   


ADD_EXECUTABLE(BinaryThresholdImageFilter BinaryThresholdImageFilter.cxx )
TARGET_LINK_LIBRARIES(BinaryThresholdImageFilter ITKCommon ITKIO)


*******************************************************
Yingli Fan
Laboratory for Bioimaging and Anatomical Informatics
Department of Neurobiology & Anatomy
Drexel University, College of Medicine
2900 Queen Lane PA 19129
Tel: 215-9918455 Fax: 215-843-9367
Email: Yingli.Fan at drexel.edu
*******************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050107/bf94c313/attachment.htm


More information about the Insight-users mailing list