[Insight-developers] cmake

Stephen R. Aylward aylward@unc.edu
Wed, 25 Sep 2002 10:14:19 -0400


Hi,

If someone does a FindITK.cmake, shouldn't we assume that they want to 
include ITK paths and libraries?

There are arguments against this, but perhaps it would be nice if the 
following CMakeLists.txt file was sufficient to compile an ITK program 
out of source...

PROJECT(MyProject)

INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)

SET ( MYPROJECT_SRCS
main.cxx
)

ADD_EXECUTABLE( MyProject MYPROJECT_SRCS )



-- 
===============================================
Dr. Stephen R. Aylward
Assistant Professor of Radiology
Adjunct Assistant Professor of Computer Science
http://caddlab.rad.unc.edu
aylward@unc.edu
(919) 966-9695