On 09/11/2013 10:39 AM, Daniele E. Domenichelli wrote:
> Ah ok, sorry I thought this was supposed to be a global variable, not a
> parameter of ExternalProject_Add...
> So, how about a SOURCE_DIR_PRESERVE parameter of ExternalProject_Add
> that defaults to the value of EP_SOURCE_DIR_PRESERVE if defined, or to
> TRUE if (The work tree is outside CMAKE_BINARY_DIR) AND (NOT
> CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.13)?

I guess EP_SOURCE_DIR_PRESERVE would work as a directory property
like EP_STEP_TARGETS does already.  However, I do not think it is
a good idea to keep a valuable source tree inside the build tree
of another project.  Also, see David Cole's other response.

If you're looking for a developer source tree dependency manager,
try Ryppl:

 http://ryppl.org/

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to