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

2012-05-07 Thread Brad King
On 5/5/2012 4:27 PM, Stephen Kelly wrote: Ok. Then factoring out how it is set is the first step. Looking at the output of 'git grep -i \?pic\b' and 'git grep -wi +Z', there are many different ways of telling the compiler that we want this property. Most of them are ancient unix which I can't

Re: [cmake-developers] Regression when using multiple Qt installations (FindQt4.make)

2012-05-07 Thread Clinton Stimpson
On Sunday, May 06, 2012 04:27:17 am Benoit Walter wrote: Hi CMake developers, as I need to maintain different projects using different Qt versions, I needed to have a look at FindQt4.cmake. Based on the path of qmake, I can successfully decide which Qt version is used (for example using

Re: [cmake-developers] Regression when using multiple Qt installations (FindQt4.make)

2012-05-07 Thread Clinton Stimpson
On Monday, May 07, 2012 08:43:07 am Benoit Walter wrote: On Monday 07 May 2012, Clinton Stimpson wrote: On Sunday, May 06, 2012 04:27:17 am Benoit Walter wrote: Hi CMake developers, as I need to maintain different projects using different Qt versions, I needed to have a look at

Re: [cmake-developers] Regression when using multiple Qt installations (FindQt4.make)

2012-05-07 Thread Clinton Stimpson
On Monday, May 07, 2012 09:14:55 am Benoit Walter wrote: On Monday 07 May 2012, you wrote: On Monday, May 07, 2012 08:43:07 am Benoit Walter wrote: On Monday 07 May 2012, Clinton Stimpson wrote: On Sunday, May 06, 2012 04:27:17 am Benoit Walter wrote: Hi CMake developers,

Re: [CMake] Moving large MSVS projects to CUDA

2012-05-07 Thread James Bigler
On Sat, May 5, 2012 at 3:32 AM, Ming ymy...@wisc.edu wrote: *From: **James Bigler* jamesbig...@gmail.com* * *Sent: Saturday, May 05, 2012 1:51 AM* *To: **Ming* ymy...@wisc.edu* * *Cc: **cmake@cmake.org* cmake@cmake.org* * *Subject: Re: [CMake] Moving large MSVS projects to CUDA* ** *On

[CMake] fixup_bundle() doesn't like libglut.3.dylib

2012-05-07 Thread Joe Ping-Lin Hsiao
Hi, I use CMake to create an installer for a Mac program which uses GLUT. The GLUT library that the program links against with is /usr/X11/lib/libglut.dylib. When I use fixup_bundle() to create an installer, I get the following error message: install_name_tool: changing install names or rpaths

Re: [CMake] fixup_bundle() doesn't like libglut.3.dylib

2012-05-07 Thread David Cole
/usr/X11/lib/libglut.dylib should probably be considered a system library that is not included in your final bundle. Therefore, all users of your application will have to have the Mac OS X version of X installed and available in order to run your program. (Is that all Macs nowadays anyway...?)

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Robert Dailey
On Sat, May 5, 2012 at 5:34 AM, Michael Wild them...@gmail.com wrote: On 05/04/2012 10:16 PM, Robert Dailey wrote: I'm doing the following: set_property( TARGET ${target_name} APPEND_STRING PROPERTY COMPILE_FLAGS /ZI /Gy ) However this applies to all configurations. I want to only

[CMake] Increasing test timeout during valgrind runs

2012-05-07 Thread Leif Walsh
Hi, As should be expected, tests take a lot longer when run under valgrind. We'd like to keep a lower test timeout when running Test actions, but increase that timeout when running MemCheck actions. I have a CTestCustom.cmake and a DartConfig.cmake that seem like likely candidates. Anyone know

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Robert Dailey
On Mon, May 7, 2012 at 10:37 AM, Robert Dailey rcdailey.li...@gmail.comwrote: On Sat, May 5, 2012 at 5:34 AM, Michael Wild them...@gmail.com wrote: On 05/04/2012 10:16 PM, Robert Dailey wrote: I'm doing the following: set_property( TARGET ${target_name} APPEND_STRING PROPERTY

Re: [CMake] Moving large MSVS projects to CUDA

2012-05-07 Thread Ming
-The code in question is the Geant4 (http://geant4.web.cern.ch/geant4/support/download.shtml) toolkit, which uses CMake to handle its cross-platform configurations. The end result of the toolkit is to compile a large set of libraries. -I’ve changed all of the source files from .cc to .cu,

Re: [CMake] Moving large MSVS projects to CUDA

2012-05-07 Thread John Drescher
I’ve had issues in the past trying to perform a configure command in CMake-gui when the buidl directory already existed..? I do this all the time for years. No problems at all. John -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Moving large MSVS projects to CUDA

2012-05-07 Thread James Bigler
On Mon, May 7, 2012 at 11:41 AM, Ming ymy...@wisc.edu wrote: ** * -The code in question is the Geant4 (** http://geant4.web.cern.ch/geant4/support/download.shtml*http://geant4.web.cern.ch/geant4/support/download.shtml *) toolkit, which uses CMake to handle its cross-platform

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Andreas Mohr
Hi, Date: Mon, 7 May 2012 12:22:27 -0500 From: Robert Dailey rcdailey.li...@gmail.com Subject: Re: [CMake] Setting COMPILE_FLAGS property on a target in onlydebug? To: Michael Wild them...@gmail.com Cc: cmake@cmake.org Message-ID:

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Robert Dailey
On Mon, May 7, 2012 at 12:42 PM, Stephen Kelly steve...@gmail.com wrote: Robert Dailey wrote: On Mon, May 7, 2012 at 10:37 AM, Robert Dailey rcdailey.li...@gmail.comwrote: I just tried your workaround and it does not work. It places everything in my preprocessor definitions field,

[CMake] speeding up FIND_PACKAGE(Qt4 ...)

2012-05-07 Thread Miller Henry
We have a cmake based project where cmake runtime is becoming a problem: everytime a CMakeLists.txt changes the build takes an extra 40-50 seconds. Our main CMakeLists.txt contains a lot of ADD_SUBDIRECTORY (and little else). Most of the subdirectories then call FIND_PACKAGE(Qt4) with

Re: [CMake] speeding up FIND_PACKAGE(Qt4 ...)

2012-05-07 Thread Rolf Eike Beer
Am Montag, 7. Mai 2012, 15:00:24 schrieb Miller Henry: We have a cmake based project where cmake runtime is becoming a problem: everytime a CMakeLists.txt changes the build takes an extra 40-50 seconds. Our main CMakeLists.txt contains a lot of ADD_SUBDIRECTORY (and little else). Most of

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Stephen Kelly
Andreas Mohr wrote: I'd like to add one more dimension to it: Thanks for the review. I'd think that Debug/Release isn't all that matters - what discussions all too conveniently leave out (possibly even the KDE Wiki-side target config discussion!) is platform-specific handling, too (Win32 /

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Stephen Kelly
Robert Dailey wrote: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/3615 This looks like an interesting discussion but seems like it would be a lot of work to complete. You're really targetting this for 2.8.9? It's likely to be partly complete by 2.8.9, but I don't know

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread David Cole
On Mon, May 7, 2012 at 5:51 PM, Stephen Kelly steve...@gmail.com wrote: Andreas Mohr wrote: I'd like to add one more dimension to it: Thanks for the review. I'd think that Debug/Release isn't all that matters - what discussions all too conveniently leave out (possibly even the KDE

[CMake] building and running tests with one command

2012-05-07 Thread Leif Walsh
Hi, Is there a make, cmake, or ctest way to rebuild the dependencies of a test if needed, and then run the test? Suppose I have a bulit directory and I'm developing. I want to make edits, then run a command specifying one test to check, so that anything needed by that test gets rebuilt (if my

[CMake] Package installation conundrum

2012-05-07 Thread Dave Abrahams
Here's another one! Scenario: * I am running CMake under 0install to build and install libraries * Each library builds a package SomePackage for the library binaries and another package SomePackage-dev for the library headers (and import libraries on Windows) * The FindSomePackage.cmake

Re: [CMake] Setting COMPILE_FLAGS property on a target in only debug?

2012-05-07 Thread Andreas Mohr
Hi, On Mon, May 07, 2012 at 07:27:53PM -0400, cmake-requ...@cmake.org wrote: Date: Mon, 07 May 2012 23:51:03 +0200 From: Stephen Kelly steve...@gmail.com Subject: Re: [CMake] Setting COMPILE_FLAGS property on a target in onlydebug? To: cmake@cmake.org Message-ID:

[Cmake-commits] CMake branch, next, updated. v2.8.8-2821-g2aa7697

2012-05-07 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 2aa76977fc9dcc36cc4c2073a020f5ed4e77994a (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2823-g73eca95

2012-05-07 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 73eca95efb59146c7b1dee52768356be5c8b5e58 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2825-g5c1d77f

2012-05-07 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 5c1d77fe70bc96a89e2afe5ddb40234aac092d5f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.8-2829-ge871e04

2012-05-07 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 e871e04ec8619348e83ba1d88b34797b75f924e5 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.8-131-g21aea01

2012-05-07 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 8f614c5..9a31b07 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 20120507