[Fedora-packaging] cmake rpm macro(s):
orion at cora.nwra.com
Tue Mar 13 20:09:37 UTC 2007
Rex Dieter wrote:
> Rex Dieter wrote:
>> Appended is a first try at rpm macro'izing the the call to cmake per:
>> I chose not to implement the out-of-tree style of build in the
>> PackagingDraft to keep things simple(r).
> Updated PackagingDrafts/cmake to include proposed macro.
First off, your macro doesn't specify any source directory, which you
must. That's actually good, because then you can do:
And it keeps the macro usage the same as the command usage.
I think you have to support out of tree builds as many projects actually
don't support in tree builds (specifically, paraview). The question
then becomes sub-dir or parallel-dir?
I'm not really sure there is a difference, but I've seen both in
instructions from packages using cmake. I'll bring it up on the cmake
list. The latter seems easier for building RPMS, and possibly required
due to filesystem collision (unless you do something like mkdir
Also, paraview gets built twice with different options in different dirs.
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 Fedora-packaging