Re: [cmake-developers] Adding logic to CMake for -fPIE and -fPIC

2012-05-29 Thread Stephen Kelly
Brad King wrote: On 05/25/2012 04:47 PM, Stephen Kelly wrote: I'm also not completely certain about the change to the try_compile behavior in the branch. Could there be any reason to use set(CMAKE_POSITION_INDEPENDENT_CODE ON) but want to do a try_compile without -fPI{C,E} ? My guess is no,

Re: [cmake-developers] Adding logic to CMake for -fPIE and -fPIC

2012-05-29 Thread Brad King
On 05/29/2012 12:16 PM, Stephen Kelly wrote: Done, though I left some notes in the commit for now. It seems the existing variable is used for more than just PIC equivalents. Thanks for going through all the platforms! I think the only non-PIC instances are for Watcom and Embarcadero where

[CMake] selective compilation according to suffix

2012-05-29 Thread Ilias Miroslav
Dear CMake experts, in our project we have some categories of compiler flags, like 'safe flags'-no optimization, 'runtime checking flags', 'profiling flags' and so on. I would like to have defined own filename extensions according to specific compilers flags, let say make VERBOSE=1

[CMake] Test Output truncated on the the first compilation warning

2012-05-29 Thread Pere Mato Vila
When displaying the test results with CDash 2.0.2 produced by CTest 2.8.2, the output, which includes the building of the test, is truncated on the first occurrence of a compilation warning. The first character not displayed is [`]. An example of the results can be seen at

Re: [CMake] Test Output truncated on the the first compilation warning

2012-05-29 Thread Rolf Eike Beer
Am Dienstag, 29. Mai 2012, 09:38:53 schrieb Pere Mato Vila: When displaying the test results with CDash 2.0.2 produced by CTest 2.8.2, the output, which includes the building of the test, is truncated on the first occurrence of a compilation warning. The first character not displayed is [`].

Re: [CMake] Test Output truncated on the the first compilation warning

2012-05-29 Thread Pere Mato Vila
No. Are you aware of any fix in this area? Changing the version in these centrally maintained servers we are using is not immediate and I would like to make sure that my request is well justified. Cheers, Pere On May 29, 2012, at 1:40 PM, Rolf Eike Beer wrote:

Re: [CMake] Test Output truncated on the the first compilation warning

2012-05-29 Thread Rolf Eike Beer
Pere Mato Vila wrote: No. Are you aware of any fix in this area? Changing the version in these centrally maintained servers we are using is not immediate and I would like to make sure that my request is well justified. Cheers, You can download a precompiled version from Kitware and extract in

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-29 Thread Wiser, Tyson
We already have nightly builds set up, so this would certainly be a possibility, though I would have to think through how to make it work when we didn't have a connection to our build server. I would still prefer, however, to have this work locally. You mention that you set this up 5 years or so

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-29 Thread Gerhard den Hollander
* Wiser, Tyson twi...@logostech.net (Tue, May 29, 2012 at 06:26:29AM -0700) We already have nightly builds set up, so this would certainly be a possibility, though I would have to think through how to make it work when we didn't have a connection to our build server. I would still prefer,

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-29 Thread Wiser, Tyson
But ExternalProject still does a checkout, configure and build step. (at least if I read the docs correctly) our goal was to minimize the amount of stuff you needed to build, specifically, if you were only working on 2 libs that were needed by 1 app, you could checkout only those 2 libs.

Re: [CMake] CMake for many interdependent libraries/executables

2012-05-29 Thread Gerhard den Hollander
Tyson, Thanks for the replies. The way that I was thinking of using ExternalProject would not require a checking out every library, [ 8 ] Using your example, if I wanted to work only on the one app that needed two libs, I could check out and build the app. Due to ExternalProject, the

Re: [CMake] Test Output truncated on the the first compilation warning

2012-05-29 Thread Pere Mato Vila
Thanks for the suggestion. It works with a more recent version. On May 29, 2012, at 3:14 PM, Rolf Eike Beer wrote: Pere Mato Vila wrote: No. Are you aware of any fix in this area? Changing the version in these centrally maintained servers we are using is not immediate and I would like to

[CMake] Error U1077

2012-05-29 Thread Amboy, Nathan -FS
I'm attempting to finish a build of GPUlib libraries that include the latest CUDA 4.2 libraries. Our goal is to get IDL running on our workstation that has two Tesla cards. I can get this to finish: cmake -DPRECISION=sm_20 -DCMAKE_INSTALL_PREFIX=C:\Program Files\Tech-X\GPULib

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-29 Thread Charlie Sharpsteen
Charlie Sharpsteen wrote Rolf Eike Beer wrote Because those value is set in the Darwin platform file (Modules/Platform/Darwin.cmake) which is taken into account by the PROJECT() call. So this is just overridden. Eike Any reason those definitions can't be protected by `IF(NOT

[CMake] Specifying linker flags for shared library build

2012-05-29 Thread Jonathan Romero
Hello, I am running a build using cmake using the Meego 1.2 toolchain (long story). This particular toolchain requires the --sysroot option to be used to find any libraries it requires. set (CMAKE_CXX_FLAGS -fpermissive) set (CMAKE_CXX_LINK_FLAGS

Re: [CMake] Bug with FindQt4?

2012-05-29 Thread David Cole
Hey Kurtis, If you make a git commit that fixes the issue, and then create a patch file using: git format-patch -1 You can attach that patch to a bug report in our issue tracker, and I'll bring it to the attention of the devs who typically work on the Qt stuff.

Re: [CMake] How to ignore configure warnings in a ctest run?

2012-05-29 Thread Matthias Kretz
Thanks for that workaround. Will do that... Here's an idea how the dashboard could be improved: When I open the configure warnings page on the dashboard there could be a button to mark the warning as expected. From then on, for every build with the same build name and site the warning would be

Re: [CMake] Why does CMAKE_FIND_FRAMEWORK always default to FIRST ignoring command line definitions?

2012-05-29 Thread David Cole
On Tue, May 29, 2012 at 2:33 PM, Charlie Sharpsteen ch...@sharpsteen.netwrote: Charlie Sharpsteen wrote Rolf Eike Beer wrote Because those value is set in the Darwin platform file (Modules/Platform/Darwin.cmake) which is taken into account by the PROJECT() call. So this is just

Re: [CMake] Volunteering to become maintainer of FindLibLZMA.cmake

2012-05-29 Thread David Cole
We do not seem to have a pending request in our system related to your desire to be a CMake module maintainer. Please send your public ssh key via this web form in order to get access to the CMake git repo: https://www.kitware.com/Admin/SendPassword.cgi Thanks, David Cole Kitware, Inc. On

[CMake] Nina Generator on Windows generates too long link cmd lines

2012-05-29 Thread Claus Klein
Hi All, I am working with Nightly cmake build with ninja enabled on windows. While testing a real complex project build, code generation and compiling works, but linking fails. The command line with a view pre and post build rules including a huge count of libs and linkerflags is to long.

Re: [CMake] Bug with FindQt4?

2012-05-29 Thread Kurtis Nusbaum
Sounds good. I submitted the bug report with patch here. http://public.kitware.com/Bug/view.php?id=13254 On Tue, May 29, 2012 at 1:54 PM, David Cole david.c...@kitware.com wrote: Hey Kurtis, If you make a git commit that fixes the issue, and then create a patch file using: git

Re: [CMake] Nina Generator on Windows generates too long link cmd lines

2012-05-29 Thread Bill Hoffman
On 5/29/2012 4:00 PM, Claus Klein wrote: Hi All, I am working with Nightly cmake build with ninja enabled on windows. While testing a real complex project build, code generation and compiling works, but linking fails. The command line with a view pre and post build rules including a huge count

Re: [CMake] Nina Generator on Windows generates too long link cmd lines

2012-05-29 Thread Claus Klein
Hi Bill Yes send me the patches please Claus On 29.05.2012, at 23:12, Bill Hoffman bill.hoff...@kitware.com wrote: On 5/29/2012 4:00 PM, Claus Klein wrote: Hi All, I am working with Nightly cmake build with ninja enabled on windows. While testing a real complex project build, code

[Cmake-commits] CMake branch, next, updated. v2.8.8-2943-g7e33b05

2012-05-29 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 7e33b05f1407d134237a74affb8cf9f4593e4e91 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-227-g73cb201

2012-05-29 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, master has been updated via 73cb20187c20f9d22ff8ed07195cf7ab572fb7ff (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-229-g1b9948c

2012-05-29 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, master has been updated via 1b9948cb79fb1486dc416d1c054f2ae18b456029 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2952-g0126bc8

2012-05-29 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 0126bc8daa129f74488ab689ff3990aae1eb732f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2954-g15dc69a

2012-05-29 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 15dc69afa4dd3c8670b6e0472af9c08ec03c5440 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-234-g48a0975

2012-05-29 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 0412ea2..1d7746c 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ SET(CMake_VERSION_MAJOR 2) SET(CMake_VERSION_MINOR 8) SET(CMake_VERSION_PATCH 8) -SET(CMake_VERSION_TWEAK 20120529