[CMake] CMake 2.8.8 available for download

2012-04-18 Thread David Cole
On behalf of myself, Ken, Bill, Brad, Alex, Zach, Ben, Eike, Eric and the rest of the CMake team from all around the world, we are pleased to announce that CMake 2.8.8 is now available for download at:   http://www.cmake.org/files/v2.8/?C=M;O=D It is also available from the usual download links f

[CMake] FindMPI - Intel MPI on Windows

2012-04-18 Thread Michel Lestrade
The FindMPI module does not seem to work on Windows with the Intel MPI libraries. I am trying (unsuccessfully) to compile parmetis and since I am new to CMake, I tried to reduce the problem I am experiencing to the simplest possible example (attached). I have the latest (12.1) Intel Compiler i

Re: [CMake] CCTray like tool for CDash?

2012-04-18 Thread Clinton Stimpson
CDash has RSS functionality. Perhaps there is already a client you can use with that to give you a popup for new submissions. On Wednesday, April 18, 2012 11:59:46 am noru...@me.com wrote: > Is someone interested in such a tool? > Does CDash have any callback functionality? > > Best Regards >

Re: [CMake] add_subdirectory inheritance

2012-04-18 Thread irukandji
I appreciate the idea but my view is that if the solution (whatever dev. solution) is not elegant there is something wrong with it. While testing the posibilities, i had it, i have implemented the optional dont_inherit flag to add_subdirectory. Tomorrow (some testing first), I'll submit a pa

[CMake] Ignore install()

2012-04-18 Thread Stefan Schindler
Hey guys, I wonder if it's possible to ignore install() commands in projects that are being built using add_subdirectory(). I've got a project that builds external libraries and links statically to them, so there's no need to install them in the final step. A workaround is to remove the files af

Re: [CMake] CCTray like tool for CDash?

2012-04-18 Thread norulez
Is someone interested in such a tool? Does CDash have any callback functionality? Best Regards Am 18.04.2012 um 07:41 schrieb noru...@me.com: > Yes, it is a notification client for cruise control to get information from > the build server without opening a web browser every time. > > You could

Re: [CMake] Ninja and IMPLICIT_DEPENDS

2012-04-18 Thread David Cole
The list of known ninja-related issues was just emailed around yesterday actually... See this email to the list: http://www.cmake.org/pipermail/cmake/2012-April/049930.html There are 5 issues listed there. See if one of them matches your issue, and if it does, you can monitor that issue for pro

Re: [CMake] CMake Ninja generator issues: any showstoppers?

2012-04-18 Thread David Cole
On Tue, Apr 17, 2012 at 6:43 PM, Clifford Yapp wrote: > On Tue, Apr 17, 2012 at 4:59 PM, David Cole > wrote: > > Hello CMake Ninja fans, > > > > We are going to be creating the CMake 2.8.8 final release tomorrow. > However, > > there are issues reported for the ninja generator. Does anybody cons

[CMake] Ninja and IMPLICIT_DEPENDS

2012-04-18 Thread Mathias Gaunard
I have recently tried Ninja with CMake 2.8.8 RC2. Are there known serious problems? It seems things are not always rebuilt when I touch indirectly included headers. Also, is IMPLICIT_DEPENDS on custom commands supposed to be supported? It doesn't seem to work. -- Powered by www.kitware.com

Re: [CMake] add_subdirectory inheritance

2012-04-18 Thread Kent Williams
I think I understand what you're trying to do better now. It's a bit off the beaten path for CMake, and has more moving parts than is strictly necessary. It could be set up as a nested suite of ExternalProjects, and avoid the definitions inheritance issue you're running into. You could also mana

[CMake] Reading flags that have been added with add_definitions

2012-04-18 Thread Mathias Gaunard
Is there a way to read back what flags were added with add_definitions? If I do add_definitions(DFOO=bar -pedantic) when I read the COMPILE_DEFINITIONS property of the directory all I have is FOO=bar How can I know the -pedantic option is being used for all targets in the directory? -- Powe

Re: [CMake] avoiding complete rebuild when the user changes

2012-04-18 Thread Eric Noulard
2012/4/18 Laurent Chapon : > Dear all, > thanks for all your comments. > I think the exact situation is not quite like it was explained in the first > place: > - The steps are as follows: > 1) checkout the code somewhere, create a build directory and then cmake.. > 2) Build using the usual make (no

Re: [CMake] avoiding complete rebuild when the user changes

2012-04-18 Thread David Cole
On Wed, Apr 18, 2012 at 7:00 AM, Eric Noulard wrote: > 2012/4/18 pellegrini : > > Dear CMakers, > > > > I introduced recently a colleague of mine to the wonders of cmake. He > has a > > problem that neither he or me could solve. > > > > When he cmakes and builds his project as root and builds subs

Re: [CMake] avoiding complete rebuild when the user changes

2012-04-18 Thread Eric Noulard
2012/4/18 pellegrini : > Dear CMakers, > > I introduced recently a colleague of mine to the wonders of cmake. He has a > problem that neither he or me could solve. > > When he cmakes and builds his project as root and builds subsenquently  its > project as himself the whole project is rebuilt even

Re: [CMake] Using two sets of compiler flags in same build

2012-04-18 Thread André Caron
Hi Petr, I've indeed done some more reading and figured out I could move the different targets in two sibling sub-directories. In retrospect, this seems kind of obvious, but the whole variable inheritance thing is not the most prominent part of the documentation... Anyways, I've implemented it a

Re: [CMake] Adding convenience links to data files to generated Visual Studio projects

2012-04-18 Thread Massaro Alessio
Answering my own question: just add the files to the add_library or add_executable calls. From: Massaro Alessio Sent: 18 April 2012 09:51 To: 'cmake@cmake.org' Subject: Adding convenience links to data files to generated Visual Studio projects Hi there Does anyone know of a way to add conveni

[CMake] Adding convenience links to data files to generated Visual Studio projects

2012-04-18 Thread Massaro Alessio
Hi there Does anyone know of a way to add convenience links to data files to generated Visual Studio projects? Basically I'm looking at a way to use VS as a sort of filesystem browser. In Visual Studio one can add "links" to files. They can be double-clicked and opened with a click, but are ot

Re: [CMake] Using two sets of compiler flags in same build

2012-04-18 Thread Petr Kmoch
Hi Andre, I can think of two ways. One is using target properties COMPILE_FLAGS and COMPILE_DEFINITIONS to setup flags on a per-target basis. Unfortunately, there's no per-config version of those :-( Another is to separate your targets into directories added by add_subdirectory(). I believe you c

[CMake] avoiding complete rebuild when the user changes

2012-04-18 Thread pellegrini
Dear CMakers, I introduced recently a colleague of mine to the wonders of cmake. He has a problem that neither he or me could solve. When he cmakes and builds his project as root and builds subsenquently its project as himself the whole project is rebuilt even if nothing has been changed.