You could extract the common unchanging entries into a central configuration file which you could then load with "cmake -C <initial-cache>" when doing the initial configuration of the participating projects.

Nils

On 24.05.2013 17:28, Christoph GrĂ¼ninger wrote:
Hi CMake,
in our code we have different related CMake projects but CMake does not really know about dependencies between the projects. It would be handy to have only one CMakeCache.txt for all projects to reduce multiple execution of the Find*.cmake tests. Is there a possibility to define the path to the cache file? Or is there another way to handle this?

Bye
Christoph


--

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

Reply via email to