[sldev] CMake preview available - please try it out!
Bill Hoffman
bill.hoffman at kitware.com
Fri Feb 1 18:27:10 PST 2008
Callum Lerwick wrote:
>
> What I want is for my RPM spec to look like this:
>
> %build
> %cmake .
> make VERBOSE=1 %{?_smp_mflags}
>
> %install
> rm -rf $RPM_BUILD_ROOT
> make install DESTDIR=$RPM_BUILD_ROOT
>
Could be:
cmake .
make
cpack -GRPM
For that to work you would have to get make install to work first. Once
that works the cpack config file is pretty small.
-Bill
More information about the SLDev
mailing list