[CMake] ExternalProject and hardwired "src" directory

Luc J. Bourhis luc_j_bourhis at mac.com
Mon Mar 11 08:06:15 EDT 2013


Ansis Māliņš wrote
> You can override parts of PREFIX with these
>    TMP_DIR      = 
> <prefix>
> /tmp
>    STAMP_DIR    = 
> <prefix>
> /src/
> <name>
> -stamp
>    DOWNLOAD_DIR = 
> <prefix>
> /src
>    SOURCE_DIR   = 
> <prefix>
> /src/
> <name>
>    BINARY_DIR   = 
> <prefix>
> /src/
> <name>
> -build
>    INSTALL_DIR  = 
> <prefix>

The problem is that I have more than a dozen targets added with
ExternalProject_Add. How would I factor out such a change in one place and
one place only?



-----
--
Luc J. Bourhis

--
View this message in context: http://cmake.3232098.n2.nabble.com/ExternalProject-and-hardwired-src-directory-tp7583497p7583570.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list