[CMake] ExternalProject_Add without download of local sources?

Luigi Calori l.calori at cineca.it
Thu Sep 15 11:48:59 EDT 2011


Did you tried specifying SOURCE_DIR without any URL and / or
DOWNLOAD_COMMAND ""
UPDATE_COMMAND ""

Not sure this is correct but for my case seems to work

HTH
           Luigi

On 15/09/2011 17.13, Thomas Wolf wrote:
> Hello,
>
> i am wondering if it is possible to have an external project building
> from local sources, *without* attemtping to download (in that case,
> copy) to a specific location.
>
> My sources of the externals are already in my repository, i do not want
> to have them compiled.
>
> I looked around for some while now, but didn't find anything rearding
> this topic. Maybe i just missed it.
>
> Setting URL and SOURCE_DIR to the same directory deletes the files...
>
> The 3rdpart project in question is just a normal CMakke project, nothing
> fancy.
>
> Regards,
> Thomas
> _______________________________________________
> 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://www.cmake.org/mailman/listinfo/cmake
>


-- 
Luigi Calori
SuperComputing Applications and Innovation Department
CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY
Tel: +39 051 6171509  Fax: +39 051 6132198
hpc.cineca.it



More information about the CMake mailing list