[CMake] in- and out-of-source tree builds
Orion Poplawski
orion at cora.nwra.com
Wed Mar 14 16:27:22 EST 2007
Various projects using cmake state that they don't support in source
tree builds. Is this a general case for cmake projects?
We're working on packaging guidelines for cmake projects in Fedora.
Draft is here: http://fedoraproject.org/wiki/PackagingDrafts/cmake.
Currently this does an in source tree build.
I currently do:
mkdir fedora
pushd fedora
cmake ..
In which the build directory is a subdirectory of the source tree. I've
also seen recommendations for a parallel directory, e.g.:
cmake ../source
Is this preferred over the former?
What are the issues that arise? In general with RPM packaging you are
starting with a clean freshly unpacked source tree.
Thanks!
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the CMake
mailing list