[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 http://www.kwwidgets.org/Bug/view.php?id=2133

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 So

[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 V

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 result

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 spec

[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 (libxp/CM

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: http://w

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 fil

[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 /Users/danieldekkers/Library/Developer/Xcode/Deri

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 va

[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 Ide

[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 respecti

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 def

[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 bew

Re: [CMake] VS2005 and cmake

2011-11-25 Thread John Drescher
On Fri, Nov 25, 2011 at 3:55 AM, Tom Deblauwe 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 handles this. Whe

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 www.kitware.com

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")

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 (${CMAKE

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] Checking for empty list

2011-11-25 Thread Daniel Dekkers
Thanks, so... IF( MYLIST ) MESSAGE( STATUS "List is not empty" ) ENDIF() Without the ${...} surrounding MYLIST, which confuses me, but probably makes sense if you (better than I do) know what you're doing ;-) -Oorspronkelijk bericht- Van: cmake-boun...@cmake.org [mailto:cmake-bou

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 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 othe

[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 Ki

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 : >> 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.co

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

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 nor

[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 impor

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 argume

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

2011-11-25 Thread Matthias Gehre
2011/11/25 Michael Hertling : > 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] 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 s