Re: [CMake] ExternalProject: how to avoid reinstalling after 'make clean'?

2015-04-28 Thread Johannes Zarl
Hi Cedric, This is something that ExternalProject cannot really do for you in an automatic/safe way. When you do a make clean, you wipe out all knowledge about the installed package. However, you can implement this yourself: Before you do the ExternalProject_Add(eigen ...) call, you can call

Re: [CMake] ExternalProject: how to avoid reinstalling after 'make clean'?

2015-04-28 Thread Cedric Doucet
Hello! No one knows how to avoid spurious installations with external projects? Thank you, Cédric - Mail original - De: Cedric Doucet cedric.dou...@inria.fr À: cmake@cmake.org Envoyé: Vendredi 24 Avril 2015 11:35:54 Objet: ExternalProject: how to avoid reinstalling after 'make

[CMake] ExternalProject: how to avoid reinstalling after 'make clean'?

2015-04-24 Thread Cedric Doucet
Hello, I use the ExternalProjet_Add function to download and install third-party libraries. Here is an example of a CMakeLists file containing such a call: = cmake_minimum_required (VERSION 2.6) project (example CXX) set(CMAKE_VERBOSE_MAKEFILE ON)