Re: [cmake-developers] Ninja windows

2012-03-09 Thread Nicolas Desprès
On Fri, Mar 9, 2012 at 3:24 AM, Peter Collingbourne pe...@pcc.me.uk wrote: On Tue, Mar 06, 2012 at 03:56:24PM -0500, Bill Hoffman wrote: On 3/6/2012 1:29 PM, Peter Collingbourne wrote: We can certainly do that, but the ninja binary would need to be switched as soon as we get around to using

[cmake-developers] [CMake 0013032]: Support the option Use Library Dependency Inputs in Visual Studio 2005+

2012-03-09 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=13032 == Reported By:Zahary Karadjov Assigned To:

[cmake-developers] [CMake 0013033]: Enhance verbosity of tests failing with OTHER_FAULT on windows

2012-03-09 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13033 == Reported By:ngladitz Assigned To:

Re: [cmake-developers] Ninja windows

2012-03-09 Thread Peter Kümmel
On 09.03.2012 10:40, Nicolas Desprès wrote: On Fri, Mar 9, 2012 at 3:24 AM, Peter Collingbournepe...@pcc.me.uk wrote: On Tue, Mar 06, 2012 at 03:56:24PM -0500, Bill Hoffman wrote: On 3/6/2012 1:29 PM, Peter Collingbourne wrote: We can certainly do that, but the ninja binary would need to be

Re: [cmake-developers] Rename Ninja generator?

2012-03-09 Thread Peter Kümmel
On 09.03.2012 03:34, Peter Collingbourne wrote: On Thu, Mar 08, 2012 at 05:44:09PM -0500, Bill Hoffman wrote: Thoughts? Hi Bill, I thought about this for a while and I decided that this probably isn't a good idea for a few reasons: 1) It is inaccurate. The Ninja generator uses a

[cmake-developers] ninja bug on windows

2012-03-09 Thread Bill Hoffman
I am seeing that ninja always wants to relink the executables for me every time it is run. The output is this: $ ninja [1/9] Linking C static library Utilities\cmlibarchive\libarchive\cmlibarchive.lib [2/9] Linking CXX executable bin\cmake.exe [3/9] Linking CXX executable bin\cmw9xcom.exe

Re: [CMake] Automatically add a revision number to the CPack installer name

2012-03-09 Thread Eric Noulard
2012/3/9 Glenn Ramsey g...@componic.co.nz: Thanks Eric, this lead me to a solution that works for me, where the revision number is updated at build time. For future reference here is what I did: [...] This is a nice and relatively easy solution. Thank you for sharing the final solution. --

Re: [CMake] how to modify scope of imported library

2012-03-09 Thread Petr Kmoch
Hi, I was solving a similar problem in our setup at work. The problem was that the parent couldn't know in advance which libraries will be imported by children. Conceptually speaking, I solved this by creating my own set of global properties which contain all necessary details about the libraries

Re: [CMake] Code and API review request for Qt5 CMake files

2012-03-09 Thread Michael Hertling
On 03/05/2012 02:04 AM, Stephen Kelly wrote: Michael Hertling wrote: * Currently there is no Qt5Config.cmake. Such a thing could probably exist and use the FIND_COMPONENTS to find what was requested. [...] Hi there, Thank you for your insights on this issue. Do you have any other

[CMake] How to correctly set dependencies for header files generated in another directory

2012-03-09 Thread Alexander Usov
Hi, I'm trying to figure out how to correctly set up dependencies for generated header files. I have prepared an example setup here: http://github.com/usovalx/cmake_test.git Quick summary: root/CMakeLists.txt: add_subdirectory(sub1) add_subdirectory(sub2) sub2/CMakeLists.txt:

[CMake] UPD: dependencies for header files

2012-03-09 Thread Alexander Usov
Nevrmind -- I just figured out my mistake. -- Best regards,   Alexander. -- 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

Re: [CMake] Ninja + CMake on a dashboard?

2012-03-09 Thread Steven Wilson
Where does the Ninja generator currently live? Ie which branch in the sources, etc? I am keen to see support for the Ninja generator on Mac/Linux/Windows and would not mind working on it. Thanks, Steve 2012/3/8 Peter Collingbourne pe...@pcc.me.uk On Wed, Mar 07, 2012 at 07:14:52AM +0100,

Re: [CMake] Ninja + CMake on a dashboard?

2012-03-09 Thread Bill Hoffman
On 3/9/2012 12:21 PM, Steven Wilson wrote: Where does the Ninja generator currently live? Ie which branch in the sources, etc? I am keen to see support for the Ninja generator on Mac/Linux/Windows and would not mind working on it. Thanks, Steve The ninja support is in the next branch

Re: [CMake] math(EXPR) and unary operators

2012-03-09 Thread j s
Make sure you set the precedence and associativity of this operator. Look for the prec declaration and resulting rule at: http://www.gnu.org/software/bison/manual/html_node/Infix-Calc.html For example: /* Bison declarations. */ %token NUM %left '-' '+' %left '*' '/'

Re: [CMake] how to modify scope of imported library

2012-03-09 Thread Alexander Neundorf
On Friday 09 March 2012, Petr Kmoch wrote: Hi, I was solving a similar problem in our setup at work. The problem was that the parent couldn't know in advance which libraries will be imported by children. Conceptually speaking, I solved this by creating my own set of global properties which

Re: [CMake] math(EXPR) and unary operators

2012-03-09 Thread Rolf Eike Beer
George Koehler wrote: math(EXPR) rejects expressions with negative numbers. This is awful because math() can reject its own negative results. For example, this code fails: math(EXPR negative 1 - 2) math(EXPR sum 100 + ${negative}) If you are touching this file anyway, do you see any

Re: [CMake] how to modify scope of imported library

2012-03-09 Thread Cong Ma
I just did the same thing as Petr, Hopefully, we can do it gracefully with 2.8.8. Thanks~~ On Fri, Mar 9, 2012 at 10:48 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Friday 09 March 2012, Petr Kmoch wrote: Hi, I was solving a similar problem in our setup at work. The problem

[CMake] OS X Icon file

2012-03-09 Thread Chuck Theobald
Hello all, How do I specify that my icon file (.icns) be installed to the correct location in an OS X bundle? So far, I've got: IF ( ${CMAKE_HOST_APPLE} ) message( OS X build ) SET( CMAKE_CXX_FLAGS -m32 ${CMAKE_CXX_FLAGS} ) SET( MACOSX_BUNDLE_INFO_STRING MRIConvert - version 2.0 )

Re: [CMake] OS X Icon file

2012-03-09 Thread Michael Jackson
SET_SOURCE_FILES_PROPERTIES(${ICON_FILE_PATH} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) -- Mike Jackson www.bluequartz.net On Mar 9, 2012, at 3:46 PM, Chuck Theobald wrote: Hello all, How do I specify that my icon file (.icns) be installed to the correct

[Cmake-commits] CMake branch, next, updated. v2.8.7-3132-g0e31245

2012-03-09 Thread Brad King
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, next has been updated via 0e3124564216e0a80530a6daca009620834062d4 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3134-g778708b

2012-03-09 Thread Brad King
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, next has been updated via 778708b0459006b8c3fc1492430a2ada82f152cd (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3137-gc5d6d48

2012-03-09 Thread David Cole
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, next has been updated via c5d6d48e1085d8ebe354a2260006181e4d301036 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3139-g6dc37e9

2012-03-09 Thread Bill Hoffman
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, next has been updated via 6dc37e91431b70c6f4ee55744b26eb103ee067f1 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3143-gc8e9707

2012-03-09 Thread Brad King
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, next has been updated via c8e97077314e1983b4e3e962da366947a8c9ab61 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3145-g0a505f3

2012-03-09 Thread Brad King
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, next has been updated via 0a505f3f05dab1582d9a09fccc1855587044eb72 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3148-gab8fc0f

2012-03-09 Thread Brad King
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, next has been updated via ab8fc0f1e52eb47d7d1443e2ca2bed9e01daa61c (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.7-635-g71c16e4

2012-03-09 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 71c16e457c795bc6635515f026c5f9f8d952b59d (commit) from