[CMake] Converting QMake project to CMake

2011-09-27 Thread NoRulez
Hi, i'm trying to convert a qmake project to CMake. How can i translate "CONFIG" to CMake or what is the CMake's way of using the CONFIG variable? e.g. CONFIG += mylib Is this the CMake equivalent: SET(mylib TRUE) Thanks in Advance Best Regards NoRulez -- Powered by www.kitware.com Visit o

Re: [CMake] Does find_library check that a found library does in fact link?

2011-09-27 Thread Michael Wild
On 09/28/2011 07:47 AM, Clifford Yapp wrote: > > > On Wed, Sep 28, 2011 at 12:13 AM, Michael Wild > wrote: > > On 09/28/2011 02:44 AM, Clifford Yapp wrote: > > I've run into a situation where find_library is returning a symlink: > > > > /usr/lib/libblah

Re: [CMake] Does find_library check that a found library does in fact link?

2011-09-27 Thread Rolf Eike Beer
Michael Wild wrote: > On 09/28/2011 02:44 AM, Clifford Yapp wrote: > > I've run into a situation where find_library is returning a symlink: > > > > /usr/lib/libblah.so -> libblah.so.1 > > > > but libblah.so.1 does not actually exist (e.g. the symlink is bad). > > > > Is there an option I can se

Re: [CMake] Does find_library check that a found library does in fact link?

2011-09-27 Thread Clifford Yapp
On Wed, Sep 28, 2011 at 12:13 AM, Michael Wild wrote: > On 09/28/2011 02:44 AM, Clifford Yapp wrote: > > I've run into a situation where find_library is returning a symlink: > > > > /usr/lib/libblah.so -> libblah.so.1 > > > > but libblah.so.1 does not actually exist (e.g. the symlink is bad). >

Re: [CMake] Does find_library check that a found library does in fact link?

2011-09-27 Thread Michael Wild
On 09/28/2011 02:44 AM, Clifford Yapp wrote: > I've run into a situation where find_library is returning a symlink: > > /usr/lib/libblah.so -> libblah.so.1 > > but libblah.so.1 does not actually exist (e.g. the symlink is bad). > > Is there an option I can set to have find_library ensure that a

[CMake] Does find_library check that a found library does in fact link?

2011-09-27 Thread Clifford Yapp
I've run into a situation where find_library is returning a symlink: /usr/lib/libblah.so -> libblah.so.1 but libblah.so.1 does not actually exist (e.g. the symlink is bad). Is there an option I can set to have find_library ensure that a found library file is valid and links? Cheers, CY -- Pow

[CMake] Xcode 4 and FOLDER target properties

2011-09-27 Thread Steven Wilson
Using the Xcode generator, the FOLDER property of targets appears to do nothing. Is this behavior simply a function a Xcode not supporting groupings of targets or will support be added in 2.8.6? Thanks, Steve -- Powered by www.kitware.com Visit other Kitware open-source projects at http://ww

Re: [CMake] How to use add_custom_command correctly

2011-09-27 Thread Michael Wild
On 09/27/2011 05:59 PM, Martin Kupke wrote: > Hi, > > in my project there is a subfolder which SHALL contain sources to > generate a library. The problem is that at startup of the project there > are no source files existing, because they will be generated by a code > generator. This means within

[CMake] How to use add_custom_command correctly

2011-09-27 Thread Martin Kupke
Hi, in my project there is a subfolder which SHALL contain sources to generate a library. The problem is that at startup of the project there are no source files existing, because they will be generated by a code generator. This means within the build process the code generator needs to be ca

[CMake] Testing Intel Fortran 12 with cmake in "next" git

2011-09-27 Thread Mario Rodríguez
Hi, I'm testing the new feature described in this comment of the ticket in http://www.cmake.org/Bug/view.php?id=11517 "I have pushed a fix for this to next. To test you will have to build CMake from git next branch source. If you can do that, please let me know if it works for youheck for working

Re: [CMake] The output of cpack is an empty file - solved

2011-09-27 Thread pellegrini
Eric Noulard a écrit : 2011/9/27 pellegrini : Hi Eric, thanks for your quick answer. No, my subprojects do not contains any CPack directives neither include cpack. Should they ? Sorry my fingers slipped. Another message is coming to the list. You need an INSTALL rule for each patr y

Re: [CMake] The output of cpack is an empty file

2011-09-27 Thread Eric Noulard
Second message for the list 2011/9/27 pellegrini : > Hello everybody, > > I would like to use cpack in order to gather a set of executables (built > statically) into a single archive that could be extracted everywhere the > user wants. > > My project architecture is the following: > > collections\

[CMake] The output of cpack is an empty file

2011-09-27 Thread pellegrini
Hello everybody, I would like to use cpack in order to gather a set of executables (built statically) into a single archive that could be extracted everywhere the user wants. My project architecture is the following: collections\ CMakeLists.txt prog1\ CMakeLists.txt + source file