Am Freitag, 23. September 2011, 16:26:46 schrieb Ben Medina: > Hello all, > > I'm trying to adopt greater usage of ExternalProject in my project. > One problem I'd like to resolve is spurious rebuilds of external > projects.
[...] > This works great: building "test" first untars the CLAPACK source and > builds it, as expected. However, if I rebuild test (i.e. in Visual > Studio, right-click on test and rebuild), then the CLAPACK tarball get > extracted *again*, and a full rebuild of CLAPACK happens. I'd expect > that, unless the tarball is changed, a rebuild of the external project > is a no-op. > > Is there a way to achieve my desired behavior? Yes, use the correct option. Rebuild means "rebuild this target and all of it's dependencies". There is a different option, something like "rebuild only this target". Just use this one. Eike
signature.asc
Description: This is a digitally signed message part.
-- 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