Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Jean-Christophe Fillion-Robin
I forked the original ninja project on my github and cmake'ified it. It successfully compile on linux [ubuntu 10.04, g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3] Note that both In and Out-of-source built are handled properly. See https://github.com/jcfr/ninja topic branch:

[CMake] Problem with cmake dependencies

2011-02-12 Thread Carminati Federico
Dear All, here I am again. I still have a problem with cmake dependencies which is a bit complicated (for me at least). I really apologise in advance if what follows is not clear, but I do need your help here. I have a coding convention checker tool that runs on all the source files to check

[CMake] Question about ADD_CUSTOM_COMMAND

2011-02-12 Thread Carminati Federico
Dear All, I have a question about ADD_CUSTOM_COMMAND. I read in the doc If DEPENDS specifies any target (created by an ADD_* command) a target-level dependency is created to make sure the target is built before any target using this custom command. Additionally, if the target is an

Re: [CMake] Boost macro behavior with respect to version

2011-02-12 Thread Michael Hertling
On 02/10/2011 09:17 PM, Adams, Brian M wrote: I'm curious if the behavior I'm seeing with respect to FindBoost.cmake is expected. (I realize I'm using these macros in a convoluted way, so understand if I can't make it work more cleanly.) What I'd like to be able to do is something like

[CMake] Detecting 32/64 bit systems

2011-02-12 Thread Dominik Szczerba
Hi, I can't really find a clear solution in google: how would one go about detecting if the system is 32 or 64 bit? There are UNIX, WIN32 etc. flags, but nothing really for the architecture. Thanks a lot, Dominik ___ Powered by www.kitware.com Visit

[CMake] Copying plugins into a bundle

2011-02-12 Thread Peter Kümmel
I wanna create a bundle on OSX with fixup_bundle but I have problems with plugins. The plugins are build with add_library(MODULE) into ${CMAKE_BINARY_DIR}/plugins. set(app ${CMAKE_BINARY_DIR}/bin/b.app) install(CODE file(GLOB_RECURSE plugins

Re: [CMake] Detecting 32/64 bit systems

2011-02-12 Thread Dominik Szczerba
Quite right. So you claim that on Windows CMAKE_SIZEOF_VOID will tell me the *target* build system, not the physical one, while it will mach CMAKE_SYSTEM_PROCESSOR if the both are the same? Many thanks for the clarification. Dominik On Sat, Feb 12, 2011 at 6:34 PM, Ryan Pavlik

Re: [CMake] Copying plugins into a bundle

2011-02-12 Thread Peter Kümmel
On 12.02.2011 18:26, Peter Kümmel wrote: I wanna create a bundle on OSX with fixup_bundle but I have problems with plugins. The plugins are build with add_library(MODULE) into ${CMAKE_BINARY_DIR}/plugins. set(app ${CMAKE_BINARY_DIR}/bin/b.app) install(CODE file(GLOB_RECURSE plugins

[CMake] linking static vs dynamic

2011-02-12 Thread Dominik Szczerba
I never actually saw a solution to this problem in cmake: I need to link (independent constraint from above) with libguide.a and not libguide.so (in intel compiler, does not matter much), but both are available, and cmake always takes the shared one when given guide as the desired library to be

Re: [CMake] linking static vs dynamic

2011-02-12 Thread Alexander Neundorf
On Saturday 12 February 2011, Dominik Szczerba wrote: I never actually saw a solution to this problem in cmake: I need to link (independent constraint from above) with libguide.a and not libguide.so (in intel compiler, does not matter much), but both are available, and cmake always takes the

Re: [CMake] linking static vs dynamic

2011-02-12 Thread Andreas Pakulat
On 12.02.11 21:20:58, Dominik Szczerba wrote: I never actually saw a solution to this problem in cmake: I need to link (independent constraint from above) with libguide.a and not libguide.so (in intel compiler, does not matter much), but both are available, and cmake always takes the shared

Re: [CMake] linking static vs dynamic

2011-02-12 Thread Michael Hertling
On 02/12/2011 09:39 PM, Andreas Pakulat wrote: On 12.02.11 21:20:58, Dominik Szczerba wrote: I never actually saw a solution to this problem in cmake: I need to link (independent constraint from above) with libguide.a and not libguide.so (in intel compiler, does not matter much), but both are

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Matt Williams
2011/2/10 Nicolas Desprès nicolas.desp...@gmail.com: Hi everyone, Probably some of you are already aware of this new open-source project coming from a Chrome developer at Google. Its goal was to improve the build system performance of the Chrome project. So it is designed to be a fast

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Martin O'Brien
Just out of curiosity, Matt, what (if anything) did you use to generate the Ninja files? Gyp? Thanks, mm -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Matt Williams Sent: Saturday, February 12, 2011 5:15 PM To: Nicolas Desprès Cc:

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Matt Williams
On 12 February 2011 23:26, Martin O'Brien martin.matthew.obr...@gmail.com wrote: Just out of curiosity, Matt, what (if anything) did you use to generate the Ninja files?  Gyp? To build the RPMs I just ran bootstrap.sh which comes with Ninja which (I believe) directly compiles a mini-ninja

Re: [CMake] Ninja: a small build system closest in spirit to Make

2011-02-12 Thread Martin O'Brien
Cool. Thanks, mm -Original Message- From: Matt Williams [mailto:li...@milliams.com] Sent: Saturday, February 12, 2011 5:48 PM To: Martin O'Brien Cc: CMake ML Subject: Re: [CMake] Ninja: a small build system closest in spirit to Make On 12 February 2011 23:26, Martin O'Brien

Re: [CMake] linking static vs dynamic

2011-02-12 Thread Dominik Szczerba
Yes, full paths seem to work fine for me. Many thanks for your feedback! Dominik On Sat, Feb 12, 2011 at 11:11 PM, Michael Hertling mhertl...@online.de wrote: On 02/12/2011 09:39 PM, Andreas Pakulat wrote: On 12.02.11 21:20:58, Dominik Szczerba wrote: I never actually saw a solution to this

[CMake] Include-Dir order problem

2011-02-12 Thread Andreas Pakulat
Hi, I've got a somewhat tricky problem here with include directories. I'm building a couple of source files and for some of them I need to add an include-directory to the front of the list that cmake passes to the compiler. At the same time other source files in that directory need to not have

Re: [CMake] Question about ADD_CUSTOM_COMMAND

2011-02-12 Thread Michael Hertling
On 02/12/2011 03:00 PM, Carminati Federico wrote: Dear All, I have a question about ADD_CUSTOM_COMMAND. I read in the doc If DEPENDS specifies any target (created by an ADD_* command) a target-level dependency is created to make sure the target is built before any target using this

[Cmake-commits] CMake branch, master, updated. v2.8.3-714-gd26ef5c

2011-02-12 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via d26ef5c1180835d8cb32b1783b6e01806905b1e8 (commit) from