Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-07 Thread Glenn Coombs
On 6 July 2011 17:27, David Cole david.c...@kitware.com wrote: (Don't know if you meant to omit the CMake mailing list on that, or if that was on oversight Feel free to put my responses back on list if you wish.) Oops, no I didn't mean to omit the mailing list. One more point:

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-07 Thread David Cole
On Thu, Jul 7, 2011 at 7:36 AM, Glenn Coombs glenn.coo...@gmail.com wrote: On 6 July 2011 17:27, David Cole david.c...@kitware.com wrote: (Don't know if you meant to omit the CMake mailing list on that, or if that was on oversight Feel free to put my responses back on list if you wish.)

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-07 Thread Glenn Coombs
On 7 July 2011 15:15, David Cole david.c...@kitware.com wrote: I'm sure that what you want to do is possible. I'm also sure that it's a huge effort to get it to work with all CMake generators. It will also be difficult to write a good test of the functionality. Furthermore, I view it as

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-07 Thread Bill Hoffman
On 7/7/2011 11:37 AM, Glenn Coombs wrote: I understand where you're coming from on the resources front. There would obviously be some effort required to get this to work properly. I'm not convinced it is such a huge amount of work as you're suggesting, but then I don't know the source code

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-05 Thread Glenn Coombs
This had me stumped for a while until I came across the -P command line option to cmake. I have now added a build command to my external project like so: ExternalProject_Add(external_proj PREFIX${CMAKE_BINARY_DIR}/external_proj SOURCE_DIR

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-05 Thread David Cole
On Tue, Jul 5, 2011 at 12:02 PM, Glenn Coombs glenn.coo...@gmail.comwrote: This had me stumped for a while until I came across the -P command line option to cmake. I have now added a build command to my external project like so: ExternalProject_Add(external_proj PREFIX

[CMake] External_Project_Add() and custom build configurations ?

2011-07-01 Thread Glenn Coombs
I have just started using some externally supplied cmake projects in my cmake project. To do this I added these lines to my top level CMakeLists.txt file: include(ExternalProject) ExternalProject_Add(external_proj PREFIX${CMAKE_BINARY_DIR}/external_proj SOURCE_DIR

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-01 Thread David Cole
On Fri, Jul 1, 2011 at 7:23 AM, Glenn Coombs glenn.coo...@gmail.com wrote: I have just started using some externally supplied cmake projects in my cmake project. To do this I added these lines to my top level CMakeLists.txt file: include(ExternalProject) ExternalProject_Add(external_proj