Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-25 Thread Stephen Kelly
Stephen Kelly wrote: Hi there, I am working on installing CMake config files from the Qt repository so that there is less need for a FindQt.cmake. By the way, it would be very helpful if anyone tried to build and test this on windows and mac. The clone is at

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-25 Thread Alexander Neundorf
On Friday 25 November 2011, Stephen Kelly wrote: Stephen Kelly wrote: Hi there, I am working on installing CMake config files from the Qt repository so that there is less need for a FindQt.cmake. By the way, it would be very helpful if anyone tried to build and test this on windows

Re: [CMake] VS2005 and cmake

2011-11-25 Thread Tom Deblauwe
Hello, Are you sure that is not some kind of extension or plugin that you are using? I don't think you can reload all the projects at once in VS2005? Best regards, Tom, Op 24/11/2011 18:01, Michael Jackson schreef: That is odd. With the later versions of cmake and visual studio 2005 pro you

Re: [CMake] Do not build/install import library

2011-11-25 Thread Matthias Gehre
2011/11/25 Michael Hertling mhertl...@online.de: On 11/24/2011 07:53 PM, Mathias Gaunard wrote: On 11/23/2011 10:14 PM, Matthias Gehre wrote: Hi, thanks for this very nice cmake. I switched just recently to get lightspark (lightspark.github.com) crossplatform, and it worked really smooth.

Re: [CMake] link_directories issue, cmake 2.8.5

2011-11-25 Thread Vladimir Chebotarev
Hi, Michael. On Fri, Nov 25, 2011 at 03:37:38AM +0100, Michael Hertling wrote: On 11/23/2011 05:39 PM, Vladimir Chebotarev wrote: I've just found an issue with link_directories and cmake 2.8.5. If I give an absolute but not normalized path like c:/bla-bla-bla/../bla/bla as its argument

[CMake] Why does CMake use relative linking when I replace a shared object?

2011-11-25 Thread Mathias Gaunard
There is some strange CMake behaviour I don't quite understand. In the project attached, I build a shared library for which I want to specify a custom build command; to do this I generate a dummy library which I then replace by another file in a POST_BUILD command (alternatives involving

Re: [CMake] link_directories issue, cmake 2.8.5

2011-11-25 Thread Andreas Pakulat
On 25.11.11 15:06:02, Vladimir Chebotarev wrote: Hi, Michael. On Fri, Nov 25, 2011 at 03:37:38AM +0100, Michael Hertling wrote: On 11/23/2011 05:39 PM, Vladimir Chebotarev wrote: I've just found an issue with link_directories and cmake 2.8.5. If I give an absolute but not normalized

Re: [CMake] link_directories issue, cmake 2.8.5

2011-11-25 Thread Vladimir Chebotarev
On Fri, Nov 25, 2011 at 01:33:49PM +0100, Andreas Pakulat wrote: On 25.11.11 15:06:02, Vladimir Chebotarev wrote: Actually, I already have normalized the path by myself, using get_filename_component, and everything is ok at the moment. Original message should have been treated as a bug

Re: [CMake] Do not build/install import library

2011-11-25 Thread Michael Hertling
On 11/25/2011 10:22 AM, Matthias Gehre wrote: 2011/11/25 Michael Hertling mhertl...@online.de: On 11/24/2011 07:53 PM, Mathias Gaunard wrote: On 11/23/2011 10:14 PM, Matthias Gehre wrote: Hi, thanks for this very nice cmake. I switched just recently to get lightspark (lightspark.github.com)

[CMake] Checking for empty list

2011-11-25 Thread Daniel Dekkers
Hi, I know it should be out there somewhere in the documentation, but can't find it. How do I check for an empty list? I can use LIST(LENGTH MYLIST LISTCOUNT) with an extra variable LISTCOUNT but isn't there a single command? Thanks, Daniel -- Powered by www.kitware.com Visit other

Re: [CMake] Checking for empty list

2011-11-25 Thread Rolf Eike Beer
Hi, I know it should be out there somewhere in the documentation, but can't find it. How do I check for an empty list? I can use LIST(LENGTH MYLIST LISTCOUNT) with an extra variable LISTCOUNT but isn't there a single command? if (MYLIST) Eike -- Powered by www.kitware.com Visit other

Re: [CMake] Checking for empty list

2011-11-25 Thread Michael Wild
On 11/25/2011 02:52 PM, Daniel Dekkers wrote: Hi, I know it should be out there somewhere in the documentation, but can’t find it. How do I check for an empty list? I can use LIST(LENGTH MYLIST LISTCOUNT) with an extra variable LISTCOUNT but isn’t there a single command?

Re: [CMake] Checking for empty list

2011-11-25 Thread Michael Wild
Yes. If you RTFM about the IF() command you see that you can either use the variable name MYLIST or the variable value ${MYLIST}. AFAIK for this kind of test you would need to put the latter in quotes, however. Michael On 11/25/2011 03:29 PM, Daniel Dekkers wrote: Thanks, so... IF( MYLIST )

Re: [CMake] XCode: Detect debug build to enable /D_Debug or similar?

2011-11-25 Thread g...@novadsp.com
I forgot to aks - what is the recommended way of adding multiple definitions? i.e. /D_DEBUG /D_NO_GZIP? Thx++ On 24/11/2011 22:22, Michael Hertling wrote: On 11/24/2011 07:08 PM, g...@novadsp.com wrote: How can I do this? Specifically generating for XCode. My cmakefile has this: if

Re: [CMake] XCode: Detect debug build to enable /D_Debug or similar?

2011-11-25 Thread Michael Wild
On 11/25/2011 03:40 PM, g...@novadsp.com wrote: [ Fixed TOFU ] On 24/11/2011 22:22, Michael Hertling wrote: On 11/24/2011 07:08 PM, g...@novadsp.com wrote: How can I do this? Specifically generating for XCode. My cmakefile has this: if (${CMAKE_CFG_INTDIR} STREQUAL Debug) Message(We are

Re: [CMake] XCode: Detect debug build to enable /D_Debug or similar?

2011-11-25 Thread g...@novadsp.com
Thanks. On 25/11/2011 14:52, Michael Wild wrote: On 11/25/2011 03:40 PM, g...@novadsp.com wrote: [ Fixed TOFU ] On 24/11/2011 22:22, Michael Hertling wrote: On 11/24/2011 07:08 PM, g...@novadsp.com wrote: How can I do this? Specifically generating for XCode. -- Powered by

Re: [CMake] VS2005 and cmake

2011-11-25 Thread John Drescher
On Fri, Nov 25, 2011 at 3:55 AM, Tom Deblauwe tom.debla...@traficon.com wrote: Hello, Are you sure that is not some kind of extension or plugin that you are using? I don't think you can reload all the projects at once in VS2005? Best regards, Tom, CMake installs a visual studio macro that

[CMake] steps to add support for new (D) language into CMake?

2011-11-25 Thread Gour
Hello! I'd like to help bring support for D language available via cmaked2 project (http://code.google.com/p/cmaked2/) into CMake project itself. Can anyone outline all the required steps how to do it? Thank you. Sincerely, Gour -- From anger, complete delusion arises, and from delusion

Re: [CMake] link_directories issue, cmake 2.8.5

2011-11-25 Thread Alexander Neundorf
On Friday 25 November 2011, Michael Hertling wrote: On 11/23/2011 05:39 PM, Vladimir Chebotarev wrote: Hello. I've just found an issue with link_directories and cmake 2.8.5. If I give an absolute but not normalized path like c:/bla-bla-bla/../bla/bla as its argument (with default

[CMake] CMake with cminpack, link libraries

2011-11-25 Thread Fabian Torres
Hi I'm trying to use cminpack. I've downloaded cminpack 1.1.3 and configure it with cmake to create a Xcode 3.2 project. After building the xcode project successfully I found that it generates a debug directory which contains the library or if the shared_libs option in cmake was on or off

[CMake] add_test WORKING_DIRECTORY

2011-11-25 Thread W Eryk Wolski
I am testing against reference data in the source directory. However, I would like to perform out of source builds. With add_test(SpoofTest ${BinOut}/SpoofTest ) the test dont find's the data, because the data path is hard coded in the tests and the build directory location is arbitrary. My

Re: [CMake] Checking for empty list

2011-11-25 Thread Michael Hertling
On 11/25/2011 03:15 PM, Michael Wild wrote: On 11/25/2011 02:52 PM, Daniel Dekkers wrote: Hi, I know it should be out there somewhere in the documentation, but can’t find it. How do I check for an empty list? I can use LIST(LENGTH MYLIST LISTCOUNT) with an extra variable LISTCOUNT

[CMake] iOS Archiving (Xcode 4.2, Lion, CMake2.8-6)

2011-11-25 Thread Daniel Dekkers
Hi, Has anyone managed to perform a successful iOS Archiving pass yet? Our apps run on the simulator (both iPhone (5.0) and iPad (5.0)) and on the actual devices iPhone 3GS (5.0.1) and iPad2 (5.0.1), but archiving always gives a link error: Ld

Re: [CMake] Why does CMake use relative linking when I replace a shared object?

2011-11-25 Thread Michael Hertling
On 11/25/2011 12:28 PM, Mathias Gaunard wrote: There is some strange CMake behaviour I don't quite understand. In the project attached, I build a shared library for which I want to specify a custom build command; to do this I generate a dummy library which I then replace by another file in

Re: [CMake] Do not build/install import library

2011-11-25 Thread Matthias Gehre
Works great, thank you! -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe:

[CMake] Build doesn't work with Mac OS X Lion...

2011-11-25 Thread Dick Munroe
I've got a build that works just fine with Leopard. For reasons I won't get into, I had to upgrade one of my systems to Lion and now (I've installed XCode 4.2) the build won't work. I get the following error: [ 0%] Reaping winning child 0x10260c510 PID 1009 Live child 0x10260c510

Re: [CMake] Why does CMake use relative linking when I replace a shared object?

2011-11-25 Thread Mathias Gaunard
On 11/25/2011 07:19 PM, Michael Hertling wrote: That's caused by the absence of an SONAME in your baz/libtest.so. If there's no DT_SONAME tag in a shared library you are linking against, the linker will write a DT_NEEDED tag to the resulting binary which points to the library as it has been

Re: [CMake] Why does CMake use relative linking when I replace a shared object?

2011-11-25 Thread Michael Hertling
On 11/25/2011 08:42 PM, Mathias Gaunard wrote: On 11/25/2011 07:19 PM, Michael Hertling wrote: That's caused by the absence of an SONAME in your baz/libtest.so. If there's no DT_SONAME tag in a shared library you are linking against, the linker will write a DT_NEEDED tag to the resulting

[CMake] parallel build using cmake --build?

2011-11-25 Thread Steve M. Robbins
Hi, To build VTK on our windows build server, I wrote a small batch script that invokes cmake --build. My developer machine is multicore; is there a way to get cmake --build to run multiple jobs? Thanks, -Steve signature.asc Description: Digital signature -- Powered by www.kitware.com

Re: [CMake] Build doesn't work with Mac OS X Lion...

2011-11-25 Thread Michael Jackson
There is a cmake variable that you set during onfiguration time. Something like os_x_architectures. There you can add the specific arch that you want to build for. - Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz

[CMake] Documentation does not include --check-build-system

2011-11-25 Thread J Decker
I don't find any documentation on the command that cmake uses with a cmake -E --check-build-system Does this option happen to set any specific cmake variable indicating that it is doing a check build? I'm inquiring and I saw a post about it before