[CMake] Create a binary package

2012-05-30 Thread jupiter
Hi, Sorry for an FAQ, I am new to cpack. I am going to use cpack to generate an rpm package to contain all binary files, bin, lib etc under CMAKE_BINARY_DIR/myApplicationBinaryDir. Which cpack variable I can use to define the package content to include the binary directory? Thank you. Kind regar

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-30 Thread Charlie Sharpsteen
David Cole wrote > > On Tue, May 29, 2012 at 2:33 PM, Charlie Sharpsteen wrote: >> So, is there any reason `IF(NOT DEFINED CMAKE_FIND_FRAMEWORK)` cannot be >> used in the platform file to protect command line arguments? >> > > > I can't think of a good reason not to use that construct.

Re: [CMake] Nina Generator on Windows generates too long link cmd lines

2012-05-30 Thread Bill Hoffman
On 5/30/2012 1:07 PM, Peter Kuemmel wrote: The cmake code needs to be updated to use the native ninja response files. If you are interested in this work, I can help you figure out where to make the changes. -Bill Have you started working on this? And is there somewhere already a branch? I

Re: [CMake] Nina Generator on Windows generates too long link cmd lines

2012-05-30 Thread Peter Kuemmel
> > The cmake code needs to be updated to use the native ninja response > files. If you are interested in this work, I can help you figure out > where to make the changes. > > -Bill Have you started working on this? And is there somewhere already a branch? If not, where is the best place fo

Re: [CMake] Cmake custom install target for a particular binary

2012-05-30 Thread Eric Noulard
2012/5/30 vivek goel : > hi, > I am having 10 binary inside my project. > If I run make install DESTDIR=<> it builds all source code and install > everything. > Is there a way I can install a particular binary ? > Like having custom target like > make install.bin1 DESTDIR=<> which will install only

[CMake] Cmake custom install target for a particular binary

2012-05-30 Thread vivek goel
hi, I am having 10 binary inside my project. If I run make install DESTDIR=<> it builds all source code and install everything. Is there a way I can install a particular binary ? Like having custom target like make install.bin1 DESTDIR=<> which will install only particular binary ? regards Vivek G

Re: [CMake] Specifying linker flags for shared library build

2012-05-30 Thread Petr Kmoch
Hi Jonathan. On Tue, May 29, 2012 at 8:41 PM, Jonathan Romero wrote: > Hello, > > I am running a build using cmake using the Meego 1.2 toolchain (long > story).  This particular toolchain requires the --sysroot option to be used > to find any libraries it requires. > >     set (CMAKE_CXX_FLAGS "-