[CMake] configuration dependent add_custom_command dependencies

2013-05-09 Thread James Bigler
Is it possible to create configuration dependent dependencies for custom commands? I need to specify a different set of dependencies for Debug versus Release builds in Visual Studio. Thanks, James -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/

Re: [CMake] Recursive object libraries

2013-05-09 Thread Brad King
On 05/09/2013 11:12 AM, Jonathan Anderson wrote: > I've attached a CMakeLists.txt file that demonstrates what > I want to do (and what I can do with my patch). Thanks, that makes sense. Does "add_library(... SHARED OBJECT ...)" work? I think you mean to set the POSITION_INDEPENDENT_CODE target p

Re: [CMake] CMake 2.8.11-rc4 ready for testing! - WiX

2013-05-09 Thread David Cole
You can build an installer for CMake itself if you have WiX installed. Just run “cpack -G WIX” in the CMake build tree. From: Bill V Sent: ‎Thursday‎, ‎May‎ ‎9‎, ‎2013 ‎11‎:‎19‎ ‎AM To: cmake@cmake.org - CPack: Added WiX Package Generator Are there any 'available' software packages with th

Re: [CMake] CMake 2.8.11-rc4 ready for testing! - WiX

2013-05-09 Thread Bill V
- CPack: Added WiX Package Generator Are there any 'available' software packages with the Wix Generator already configured and running under CPack we could use to test the build and get some experience with WiX? Any CMake/CPack tests or examples? Thank you, Bill -- Powered by www.kitware.com V

Re: [CMake] Recursive object libraries

2013-05-09 Thread Jonathan Anderson
Hi Brad, I've attached a CMakeLists.txt file that demonstrates what I want to do (and what I can do with my patch). It models a directory hierarchy in a single file and uses the object library mechanism to accumulate objects recursively. I'm not familiar with the CMake testing framework. When

Re: [CMake] Recursive object libraries

2013-05-09 Thread Brad King
Hi Jon, Thanks for looking at this. On 05/09/2013 09:42 AM, Jonathan Anderson wrote: > I have created a patch that seems to provide the functionality > that I want (attached). The patch looks interesting. We'll need it to include documentation and tests for the feature before acceptance. First

Re: [CMake] Recursive object libraries

2013-05-09 Thread Jonathan Anderson
On 3 May 2013 13:26, Jonathan Anderson wrote: > Thanks very much for adding add_library(OBJECT); it's Just the Thing™ for > organising source files that go into large libraries. It seems that I can't > use it recursively, however: > I have created a patch that seems to provide the functionality