Re: [CMake] SDL troubles on Mac OS X

2009-12-16 Thread David Cole
On Wed, Dec 16, 2009 at 1:48 AM, Michael Wild them...@gmail.com wrote: On 15. Dec, 2009, at 23:46 , Glenn Hughes wrote: I think the SDL developers are just being a bit too slick. They are setting up SDL for Xcode development where typically you would link to the SDL and then have a Copy

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Michael Jackson
On Dec 15, 2009, at 7:24 PM, Glenn Hughes wrote: Really? How could it? Suppose I only have 1 qrc file, named foo.qrc: wouldn't these two lines be equivalent? FILE (GLOB my_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} res/ *.qrc ) SET( my_RESOURCES res/foo.qrc) ??? TIA G On Tue, Dec

[CMake] Submitting build and test results to dashboard separately

2009-12-16 Thread Moreland, Kenneth
I am setting up a ParaView dashboard for a cluster in which I have to compile on one computer and then submit a job to run parallel tests on another computer. This means I have to run one dashboard script to update and build the code. At the end of this script I submit a parallel job to run

Re: [CMake] CMake ParaView parallel testing on windows

2009-12-16 Thread Biddiscombe, John A.
Clint, Nice. This works perfectly (or at least as far as I can tell so far). Thanks a lot JB -Original Message- From: Clinton Stimpson [mailto:clin...@elemtech.com] Sent: 15 December 2009 15:51 To: Biddiscombe, John A. Cc: paraview-develop...@paraview.org; cmake@cmake.org

[CMake] Acces macro/functions to subfolders

2009-12-16 Thread Olivier Pierard
Dear all, In order to be able to use a macro/function from several sub-folders, I would like to define it only once in the main CMakeLists.txt. However, after some basic tests, It seems impossible to call this macro/function from subfolders. Is is possible to do it ? By the way, what's the

Re: [CMake] (no subject)

2009-12-16 Thread Johan Knutzen
Hi John, Thank you! This looks very nice, and uses a bit different approach than the one used in PCHSupport. Will use this! Johan --- Den tis 2009-12-15 skrev John Drescher dresche...@gmail.com: Från: John Drescher dresche...@gmail.com Ämne: Re: [CMake] (no subject) Till: Johan Knutzen

[CMake] install for subdirectories with 'ExludeFromAll'

2009-12-16 Thread Olivier Pierard
Dear all, What's up with the install procedure of a target included in a subdirectory with the option 'ExcludeFromAll'. CMake says the behavior is undefined. I would expect a command like 'make install target_with_exclude_from_all'. How is it possible to manage that ? I'm also wondering why

Re: [CMake] Acces macro/functions to subfolders

2009-12-16 Thread Tyler Roscoe
On Wed, Dec 16, 2009 at 05:55:54PM +0100, Olivier Pierard wrote: In order to be able to use a macro/function from several sub-folders, I would like to define it only once in the main CMakeLists.txt. However, after some basic tests, It seems impossible to call this macro/function from

[CMake] ExternalProject() Question

2009-12-16 Thread Michael Jackson
I am intrigued by the ExternalProject feature of CMake 2.8. One question that I have after reading through the Oct 09 Kitware Source is this. If I do a make clean or rebuild are all the ExternalProjects also cleaned/rebuilt? I could make an argument both ways but I was curious what the

[CMake] Updates to support Dignus cross-compiler on z/OS

2009-12-16 Thread Phil Smith
These aren't all someone would need to use Dignus, as it's a two-step compiler: the C/C++ compilers generate assembler, and then there's an assemble step. But getting these files into CMake would be a step in the right direction. The attached file is a ZIP file, renamed to (hopefully) avoid

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Glenn Hughes
Removed the globbing, same exact behavior. Any other ideas? Does this normally work for people? Any examples? G ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Clinton Stimpson
Do you have a minimal example to demonstrate it? I wonder if its related to how dependencies for qrc files are handled. Clint On Wednesday 16 December 2009 01:27:55 pm Glenn Hughes wrote: Removed the globbing, same exact behavior. Any other ideas? Does this normally work for people? Any

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread John Drescher
On Wed, Dec 16, 2009 at 3:27 PM, Glenn Hughes ghughes02...@gmail.com wrote: Removed the globbing, same exact behavior. Any other ideas? Does this normally work for people? Any examples? Works fine for me. Although I rarely update the .qrc files. John

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Glenn Hughes
Here's a very short example that demonstrates the problem. This is a CMake file for the states qt 4.6 example (Developer/Examples/Qt/animation/states) #--- PROJECT(states) # the name of your project CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) FIND_PACKAGE(Qt4 REQUIRED) # find and setup Qt4 for this

Re: [CMake] Updates to support Dignus cross-compiler on z/OS

2009-12-16 Thread Alexander Neundorf
On Wednesday 16 December 2009, Phil Smith wrote: These aren't all someone would need to use Dignus, as it's a two-step compiler: the C/C++ compilers generate assembler, and then there's an assemble step. But getting these files into CMake would be a step in the right direction. Hmm, I think

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Clinton Stimpson
It looks like a bug in the Xcode generator. Here's an even simpler example: project(test_xcode) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/test.h COMMAND cp ${CMAKE_SOURCE_DIR}/test.h.in ${CMAKE_BINARY_DIR}/test.h DEPENDS ${CMAKE_SOURCE_DIR}/test.h.in )

Re: [CMake] Builds slow as they go

2009-12-16 Thread Alexander Neundorf
On Wednesday 16 December 2009, Phil Smith wrote: As Hawkeye said in the Second City version of Last of the Mohicans, Me lie, big deal. Turns out I'd munged the path and have been using 2.6 all this time. Upgrading to 2.8 *did* make a *huge* difference, like 60% or so. Cow-orker had lied when

Re: [CMake] Build only what you need in third party libs

2009-12-16 Thread Alexander Neundorf
On Wednesday 16 December 2009, Brian Davis wrote: Sorry for the late reply... it's finals week (school). See below 2009/12/9 Alexander Neundorf a.neundorf-w...@gmx.net On Saturday 05 December 2009, Brian Davis wrote: I have used boost jam before and there was a mechanism to build only

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Brad King
Clinton Stimpson wrote: It looks like a bug in the Xcode generator. Here's an even simpler example: project(test_xcode) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/test.h COMMAND cp ${CMAKE_SOURCE_DIR}/test.h.in ${CMAKE_BINARY_DIR}/test.h DEPENDS ${CMAKE_SOURCE_DIR}/test.h.in

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread Clinton Stimpson
On Wednesday 16 December 2009 04:05:22 pm Brad King wrote: Clinton Stimpson wrote: It looks like a bug in the Xcode generator. Here's an even simpler example: project(test_xcode) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/test.h COMMAND cp ${CMAKE_SOURCE_DIR}/test.h.in

[CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread James Zipperer
Does anyone have an example of how to install dlls into %WINDIR%/system32 using cmake/ cpack/nsis? Thanks! -James This message contains information which is confidential and privileged. Unless you are the addressee (or authorized to receive for the

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread David Cole
You should avoid this if at all possible. Install dlls next to your program, not in the system32 directory. Do you have a reason you need to install a dll there? On Wed, Dec 16, 2009 at 6:42 PM, James Zipperer james.zippe...@modsystems.com wrote: Does anyone have an example of how to

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread James Zipperer
Yes, unfortunately they need to be there. -James From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, December 16, 2009 4:15 PM To: James Zipperer Cc: CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 You should avoid this if at all

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread David Cole
What's the reason they need to be there? On Wed, Dec 16, 2009 at 7:18 PM, James Zipperer james.zippe...@modsystems.com wrote: Yes, unfortunately they need to be there. -James *From:* David Cole [mailto:david.c...@kitware.com] *Sent:* Wednesday, December 16, 2009 4:15 PM *To:*

Re: [CMake] qt .qrc file modifications require two builds

2009-12-16 Thread David Cole
On Wed, Dec 16, 2009 at 6:16 PM, Clinton Stimpson clin...@elemtech.comwrote: On Wednesday 16 December 2009 04:05:22 pm Brad King wrote: Clinton Stimpson wrote: It looks like a bug in the Xcode generator. Here's an even simpler example: project(test_xcode)

Re: [CMake] using cmake to install dlls into windows/system32

2009-12-16 Thread James Zipperer
They're device driver dlls for use system-wide. -James From: David Cole [mailto:david.c...@kitware.com] Sent: Wednesday, December 16, 2009 4:34 PM To: James Zipperer Cc: CMake mailing list Subject: Re: [CMake] using cmake to install dlls into windows/system32 What's the reason they need to be

Re: [CMake] Acces macro/functions to subfolders

2009-12-16 Thread Michael Wild
On 16. Dec, 2009, at 18:28 , Tyler Roscoe wrote: On Wed, Dec 16, 2009 at 05:55:54PM +0100, Olivier Pierard wrote: In order to be able to use a macro/function from several sub-folders, I would like to define it only once in the main CMakeLists.txt. However, after some basic tests, It seems