Re: [cmake-developers] [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-23 Thread David Cole
I think this has to be fixed before we make 2.8.3 final. The existing (2.8.2 and earlier) behavior here is crucial for anybody who has multiple Qt versions installed or available... Clinton, do you have time to take a look at this in the next couple of days? Thanks, David Cole On Thu, Sep 23,

Re: [cmake-developers] [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-23 Thread Alexander Neundorf
On Thursday 23 September 2010, Alexander Neundorf wrote: On Wednesday 15 September 2010, David Cole wrote: I am happy to announce that CMake 2.8.3 has entered the release candidate stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D Following is

Re: [cmake-developers] [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-23 Thread Alexander Neundorf
On Thursday 23 September 2010, Clinton Stimpson wrote: On Thursday, September 23, 2010 01:40:02 pm Alexander Neundorf wrote: ... This was committed here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b55da4c688bbf55b442908 46 4e0f7e2e41c937a3 which has as commit message Add

Re: [cmake-developers] [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-23 Thread Clinton Stimpson
On Thursday, September 23, 2010 03:09:57 pm Clinton Stimpson wrote: On Thursday, September 23, 2010 02:42:52 pm Alexander Neundorf wrote: On Thursday 23 September 2010, Clinton Stimpson wrote: On Thursday, September 23, 2010 02:01:40 pm Alexander Neundorf wrote: On Thursday 23 September

Re: [CMake] best practice way of copying libraries to an install package

2010-09-23 Thread Eric Noulard
2010/9/23 edA-qa mort-ora-y eda...@disemia.com: On 09/23/2010 12:12 AM, Ryan Pavlik wrote: If anybody has a good resource, or can recommend some best practices, that would be great. Use CMake and CPack?  See the wiki, and elsewhere on the internet. Yes, I am of course using CMake. My

[CMake] Visual Studio project error

2010-09-23 Thread J Decker
using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target -- Build started: Project: INSTALL (CMakePredefinedTargets\INSTALL), Configuration: Debug Win32 -- 3 CMake Warning (dev) at cmake_install.cmake:5 (SET): 3Syntax

[CMake] How to add additional informations to cdash?

2010-09-23 Thread norulez
Hello, is there a way to add additional informations to cdash like Qt version, database version and such things to the build time. The thing is that i want to know under which version a build fails. Thanks in advance Best Regards NoRulez ___ Powered

Re: [CMake] ccmake and cmake

2010-09-23 Thread Michael Wild
With Ubuntu you need the cmake-curses-gui package. Michael On 23. Sep, 2010, at 24:25 , David Cole wrote: If you have cmake, you have ccmake. They are not installed separately. ccmake is part of the cmake package. On Wed, Sep 22, 2010 at 6:22 PM, Siddharth Srivastava

[CMake] How to get informations from FIND_PACKAGE(Git)

2010-09-23 Thread norulez
Hello, how can i get the revision and so on after FIND_PACKAGE(Git) like in Subversion_WC_INFO? Thanks in advance Best Regards NoRulez ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Visual Studio project error

2010-09-23 Thread Eric Noulard
2010/9/23 J Decker d3c...@gmail.com: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target I am responsible for this regression :-( The issue is known, see those thread;

Re: [CMake] pass compile flags to initial compiler test..

2010-09-23 Thread Yngve Inntjore Levinsen
Once again, thank you very much for your contribution Hannes! For the completeness of the thread, I post the solution here. This solution is general for all compilers that fails with rdynamic (e.g. if you try to compile windows binaries in linux, where you want -shared, not -rdynamic) Apply

Re: [CMake] How to add additional informations to cdash?

2010-09-23 Thread Chris Hillery
I hope there is a real answer to this question, but I've solved a similar problem for us by setting the Site name (CTEST_SITE in ctest scripts) to something which indicates the OS/version/bit-depth/etc. This obviously doesn't scale to more than a couple key pieces of information, but it may help.

[CMake] What triggers CMake to scan (C) files for dependencies?

2010-09-23 Thread Arjen Markus
Hello, I am trying to create CMake-based build system for a program that uses both C and Fortran source files. While expanding the CMakeLists.txt files to include a custom build step for one C header file, I stumbled on something I do not understand. The makefiles generated from my first

Re: [CMake] What triggers CMake to scan (C) files for dependencies?

2010-09-23 Thread Arjen Markus
Hello, I think I found the answer: it is only when actually building the program that the source files get scanned and therefore the depend.make file gets filled. That, of course, does make sense. Regards, Arjen On 2010-09-23 10:18, Arjen Markus wrote: Hello, I am trying to create

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
On 9/23/2010 2:20 AM, J Decker wrote: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target -- Build started: Project: INSTALL (CMakePredefinedTargets\INSTALL), Configuration: Debug Win32 -- 3 CMake Warning (dev) at

Re: [CMake] How to add additional informations to cdash?

2010-09-23 Thread Bill Hoffman
On 9/23/2010 2:27 AM, norulez wrote: Hello, is there a way to add additional informations to cdash like Qt version, database version and such things to the build time. The thing is that i want to know under which version a build fails. You can add Notes. -Bill

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
On 9/23/2010 3:13 AM, Eric Noulard wrote: 2010/9/23 J Deckerd3c...@gmail.com: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target I am responsible for this regression :-( Not so sure it is the same thing... Note, the

Re: [CMake] Visual Studio project error

2010-09-23 Thread Eric Noulard
2010/9/23 Bill Hoffman bill.hoff...@kitware.com: On 9/23/2010 3:13 AM, Eric Noulard wrote: 2010/9/23 J Deckerd3c...@gmail.com: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target I am responsible for this regression :-(

[CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Andrea Galeazzi
Hi everybody, I've got a project with two configuration (Debug and Release) and two target: win32 and ARM. In your opinion what's the best way to manage a such kind of project? As an example, in my CmakeList I have the following piece of code that works fine only for visual studio.

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
On 9/23/2010 10:45 AM, Eric Noulard wrote: 2010/9/23 Bill Hoffmanbill.hoff...@kitware.com: On 9/23/2010 3:13 AM, Eric Noulard wrote: 2010/9/23 J Deckerd3c...@gmail.com: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target

Re: [CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Ryan Pavlik
Keep these lines, if they are necessary for your system: if(CMAKE_CONFIGURATION_TYPES) set(CMAKE_CONFIGURATION_TYPES Debug Release) set(CMAKE_CONFIGURATION_TYPES ${CMAKE_CONFIGURATION_TYPES} CACHE STRING Reset the configurations to what we need FORCE) endif() Remove the other lines.

Re: [CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Andrea Galeazzi
But where could I put the custom options for the compiler, for example in arm-debug I'd like to have CMAKE_CXX_FLAGS -no-rtti what do you mean with build directory, the source directory? Citando Ryan Pavlik rpav...@iastate.edu: Keep these lines, if they are necessary for your system:

Re: [CMake] Visual Studio project error

2010-09-23 Thread J Decker
The last one may not be supported.  You can not give CMake windows paths for variable and expect it to work... :) Why put so much emphasis that a / is a path seperator? it's not like a \ is any more of a valid character for paths and files. I mean I would imagine since it's treating it as an

[CMake] mixing c/fortran - missing gfortran sometimes

2010-09-23 Thread Clinton Stimpson
Hi, I've got a source files for a mixed C/fortran going into one library. If the library is shared, -lgfortran is added to the link line, and I'm good to go. If it is static, -lgfortran is not added to any executable or shared library that links with this static library. Should I add

[CMake] Problem with GNU compilers - difference between Windows and MinGW

2010-09-23 Thread Alan W. Irwin
I would definitely like the build system for the FreeEOS software project to work properly on Windows. I have no access to that platform so I was very happy that Arjen was willing to test that build on Windows for me. However, he cannot finish that effort until the questions below are addressed

Re: [CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Ryan Pavlik
See here for information on build/source directories: http://www.paraview.org/Wiki/CMake_FAQ#Out-of-source_build_trees For your example compiler flag (is that gcc only?) and all other info you've provided so far, you'd probably want to do something like this: if(CMAKE_CONFIGURATION_TYPES)

Re: [CMake] mixing c/fortran - missing gfortran sometimes

2010-09-23 Thread Brad King
On 09/23/2010 12:20 PM, Clinton Stimpson wrote: I've got a source files for a mixed C/fortran going into one library. If the library is shared, -lgfortran is added to the link line, and I'm good to go. If it is static, -lgfortran is not added to any executable or shared library that links

Re: [CMake] Decoupuling configuration and toolchain

2010-09-23 Thread Alexander Neundorf
On Thursday 23 September 2010, Andrea Galeazzi wrote: Hi everybody, I've got a project with two configuration (Debug and Release) and two target: win32 and ARM. In your opinion what's the best way to manage a such kind of project? As an example, in my CmakeList I have the following piece of

Re: [CMake] best practice way of copying libraries to an install package

2010-09-23 Thread Alexander Neundorf
On Thursday 23 September 2010, Eric Noulard wrote: 2010/9/23 edA-qa mort-ora-y eda...@disemia.com: On 09/23/2010 12:12 AM, Ryan Pavlik wrote: If anybody has a good resource, or can recommend some best practices, that would be great. Use CMake and CPack?  See the wiki, and elsewhere on

Re: [CMake] ccmake and cmake

2010-09-23 Thread Siddharth Srivastava
Thanks all, for the replies... I now know that I need to install cmake-curses-gui. However (on my Ubuntu hardy) apt-get does not find this package. Do I have to specify a repository in my sources.list where it can find this package? I am also ready to compile from source, if that is the only

Re: [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-23 Thread Michael Wittman
There appears to be a bug in the new solution folders support with VS 2008: if a folder has the same name as a target, the folder appears empty in the solution, and the targets that were assigned to the folder appear at the top-level of the solution tree. In the solution file, it looks like

Re: [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-23 Thread David Cole
Don't do that. :-) Seriously. But perhaps there should be a name-collision detection since these folders have to live in the same namespace as CMake targets. And what shall we do in the event of a name-collision... error? Automatic rename of the folder (perhaps append folder)? Or maybe we

Re: [CMake] mixing c/fortran - missing gfortran sometimes

2010-09-23 Thread Clinton Stimpson
On 09/23/2010 10:56 AM, Brad King wrote: On 09/23/2010 12:20 PM, Clinton Stimpson wrote: I've got a source files for a mixed C/fortran going into one library. If the library is shared, -lgfortran is added to the link line, and I'm good to go. If it is static, -lgfortran is not added to any

Re: [CMake] ccmake and cmake

2010-09-23 Thread Michael Wild
Oh, wow, hardy is REALLY, *REALLY* old. It still contains only cmake-2.4.7 which was released more than 3 years ago! I would recommend downloading a pre-built binary. It is self-contained and you can just drop it anywhere you want (e.g. somewhere in your home directory) and simply update your

[Cmake-commits] CMake branch, next, updated. v2.8.2-917-g061bf6c

2010-09-23 Thread Alexander Neundorf
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 061bf6c2e67d56e41162142b8f27020e5bfb9cb7 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-919-ge3279af

2010-09-23 Thread Clinton Stimpson
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 e3279afebeb6ed4aa3b11b3506e9b3ad21250185 (commit) via