Hi, If you run the cpack executable directly, it should not reconfigure/rebuild your project. As far as I know...
How do you run it now? "make package"? That will reconfigure/rebuild the project not really because of CPack, but because of how the Makefiles are set up. Cheers, Attila > On 10 May 2016, at 09:43, Miklos Espak <m.es...@ucl.ac.uk> wrote: > > Hi, > > given a complete build folder with all external projects, is it possible to > run cpack without touching the sources? > > As I see, it now starts with configuring and building the project. (Skipping > what is up-to-date, usually everything.) This can cause a problem if you > switched branch after the built has finished and before running cpack. > > Does cpack actually need anything from the sources? If not, is it possible to > tell cpack not to try to reconfig/rebuild the project? > > Cheers, > Miklos > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake