Re: [CMake] ExternalProject_Add examples

2013-10-28 Thread Aaron Nowack
https://github.com/OpenChemistry/openchemistry/tree/master/cmake David Cole pointed me to the project he is developing. There are a lot of ExternalProject_Add examples, and good practices for "super-build" projects in general. It was/is very helpful for me! On Mon, Oct 28, 2013 at 2:05 AM, Yngve

Re: [CMake] ExternalProject_Add examples

2013-10-28 Thread Yngve Inntjore Levinsen
Den 17. mars 2012 22:03, skrev Bill Lorensen: > Folks, > > I've recently created a number of super builds using CMake's External > Project mechanism. Each external project requires some sort of > download, configuration, build and possibly install. The CMake defines > needed to correctly access the

Re: [CMake] ExternalProject_Add examples

2013-10-27 Thread Pau Garcia i Quiles
Hello, ExternalProject_Add(A ... ) ExternalProject_Add(B DEPENDS A ...) ExternalProject_Add(C DEPENDS B ... ) CMake will take care of the build order of those projects Please check winstng for a complex project with a lot of interdependencies. The documentation for ExternalProject and this art

Re: [CMake] ExternalProject_Add examples

2013-10-27 Thread Witold E Wolski
Dear Kent, Thank you for pointing me to this project. I did some searching for an explanation of the superbuild cmake pattern but didn't find any text resources. I am wondering if the superbuild pattern can cover the following case: I.e. given 3 projects A, B and C where B depends on A and C dep

Re: [CMake] ExternalProject_Add examples

2013-10-25 Thread Williams, Norman K
There is our project here: https://github.com/BRAINSia/NAMICExternalProjects This is set up using the CMake 'SuperBuild' pattern first used with Slicer. It might be more complicated a setup than you have in mind, but it builds a large number of interdependent packages. It's structured as a two-p

Re: [CMake] ExternalProject_Add examples

2013-10-24 Thread Magnus Therning
On Thu, Oct 24, 2013 at 09:04:25PM +0100, Fraser Hutchison wrote: > There's a StackOverflow answer I did a while back which gives an example of > ExternalProject_Add for GTest: http://stackoverflow.com/a/9695234/2556117 > > It maybe needs updated, and I don't think I ever tried it on OSX, but it >

Re: [CMake] ExternalProject_Add examples

2013-10-24 Thread Pau Garcia i Quiles
Hello, Take a look at winstng: https://elpauer.assembla.com/code/winstng/git/nodes It's being used for the Wt SDKs: http://www.webtoolkit.eu/wt/blog/2013/10/21/binary_packages_for_visual_studio/ On Thu, Oct 24, 2013 at 10:35 AM, Witold E Wolski wrote: > Would also like to start configuring e

Re: [CMake] ExternalProject_Add examples

2013-10-24 Thread Fraser Hutchison
There's a StackOverflow answer I did a while back which gives an example of ExternalProject_Add for GTest: http://stackoverflow.com/a/9695234/2556117 It maybe needs updated, and I don't think I ever tried it on OSX, but it should hopefully be an OK starting point. (If not - hack away at my an

Re: [CMake] ExternalProject_Add examples

2013-10-24 Thread Witold E Wolski
Would also like to start configuring external dependencies with ExternalProject_Add So some examples would be pretty useful to me. So did you ended up collecting some examples? Sure, you posted in this links to repositories, but finding the "ExternalProject_Add" in these huge projects with hundre

Re: [CMake] ExternalProject_Add examples

2012-03-17 Thread Luigi Calori
On 17/03/2012 22.11, Marcus D. Hanwell wrote: On Sat, Mar 17, 2012 at 5:03 PM, Bill Lorensen wrote: Folks, I've recently created a number of super builds using CMake's External Project mechanism. Each external project requires some sort of download, configuration, build and possibly install. T

Re: [CMake] ExternalProject_Add examples

2012-03-17 Thread Bill Lorensen
I agree, most all super builds are tricky. Is it practical to collect examples are are they so Project specific they won't be useful. For example, the Slicer4 external;s have a bunch of Slicer-specific stuff in them. However, it is still frustrating to star a superbuild from scratch. Maybe we can

Re: [CMake] ExternalProject_Add examples

2012-03-17 Thread Marcus D. Hanwell
On Sat, Mar 17, 2012 at 5:03 PM, Bill Lorensen wrote: > Folks, > > I've recently created a number of super builds using CMake's External > Project mechanism. Each external project requires some sort of > download, configuration, build and possibly install. The CMake defines > needed to correctly a

Re: [CMake] ExternalProject_Add examples

2012-03-17 Thread Pau Garcia i Quiles
Hi, OpenSSL is very tricky on Windows. You'll find my solution (it requires a two-stage process) at http://gitorious.org/winstng On Sat, Mar 17, 2012 at 10:03 PM, Bill Lorensen wrote: > Folks, > > I've recently created a number of super builds using CMake's External > Project mechanism. Each ex

[CMake] ExternalProject_Add examples

2012-03-17 Thread Bill Lorensen
Folks, I've recently created a number of super builds using CMake's External Project mechanism. Each external project requires some sort of download, configuration, build and possibly install. The CMake defines needed to correctly access the results of the external project vary significantly. The