Re: [CMake] How to have a target depend on an External Project

2011-01-12 Thread David Cole
l_target) statement that seems > to > >> always work? > >> > >> Allen > >> > >> > Date: Wed, 12 Jan 2011 13:23:52 -0500 > >> > >> > From: "Marcus D. Hanwell" > >> > >> > Subject: Re: [CMake] How

Re: [CMake] How to have a target depend on an External Project

2011-01-12 Thread kent williams
o >> always work? >> >> Allen >> >> > Date: Wed, 12 Jan 2011 13:23:52 -0500 >> >> > From: "Marcus D. Hanwell" >> >> > Subject: Re: [CMake] How to have a target depend on an External >> >> > Project >>

Re: [CMake] How to have a target depend on an External Project

2011-01-12 Thread David Cole
: Wed, 12 Jan 2011 13:23:52 -0500 > > > From: "Marcus D. Hanwell" > > > Subject: Re: [CMake] How to have a target depend on an External > > > Project > > > To: kent williams > > > Cc: CMake ML > > > Message-ID: > > >

Re: [CMake] How to have a target depend on an External Project

2011-01-12 Thread Allen D Byrne
While Marcus states what is likely the preferred way, I just added an ADD_DEPENDENCIES(internal_target external_target) statement that seems to always work? Allen > Date: Wed, 12 Jan 2011 13:23:52 -0500 > From: "Marcus D. Hanwell" > Subject: Re: [CMake] How to have a

Re: [CMake] How to have a target depend on an External Project

2011-01-12 Thread Marcus D. Hanwell
On Wed, Jan 12, 2011 at 12:53 PM, kent williams wrote: > For better or worse (mostly better) we are now heavy users of > ExternalProject.  That module works really well to pull in external > dependencies and get them built. > > ExternalProject_add has a DEPENDS keyword that lets you specify > depe

[CMake] How to have a target depend on an External Project

2011-01-12 Thread kent williams
For better or worse (mostly better) we are now heavy users of ExternalProject. That module works really well to pull in external dependencies and get them built. ExternalProject_add has a DEPENDS keyword that lets you specify dependencies on other External Projects. But an ExternalProject isn't