[CMake] How to share CMakeCache between projects?

2013-05-24 Thread Christoph GrĂ¼ninger
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

Re: [CMake] How to share CMakeCache between projects?

2013-05-24 Thread Nils Gladitz
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