[vtk-developers] RE: [Insight-developers] Changes toCMake

Lorensen, William E (CRD) lorensen at crd.ge.com
Mon May 21 14:39:52 EDT 2001


How do you build an out of source cmake? We need this for testing.

-----Original Message-----
From: Ken Martin [mailto:ken.martin at kitware.com]
Sent: Monday, May 21, 2001 9:47 AM
To: Cmake at Public. Kitware. Com; Vtk-Developers at Public. Kitware. Com;
Insight
Subject: [Insight-developers] Changes toCMake


Hello All,

I have been making changes to CMake to support it being installed in
/usr/bin etc. The idea is that in the long run cmake will be a tool on
the computer and not part of every project's source tree. Right now I
have committed the core changes but not removed CMake from the Insight
tree. Right now to use cmake on UNIX you would do something like the
following:

// build cmake first
cd Insight/CMake
./configure
make

// then use cmake to build Insight
mkdir Insight-linux
cd Insight-linux
../Insight/CMake/Source/cmake ../Insight
make

later today I'll make an install target for cmake so that it can
easily be put into $prefix/bin and $prefix/share/cmake. The Windows
process should be the same as it was before and I'll create a binary
distribution of cmake for Windows soon. Two changes worth noting are
that CMakeBuildTargets and CMakeSetupCMD were merged into one file
cmake.cxx which handles both windows and UNIX, configure is now run
internally by cmake (on UNIX) not by the developer.

Ken


_______________________________________________
Insight-developers mailing list
Insight-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers




More information about the vtk-developers mailing list