Re: [CMake] Searching once

2014-01-15 Thread Matthew Woehlke
On 2014-01-15 11:11, Williams, Norman K wrote: You want the load_cache command: [snip] An *installed* project (what Al mentioned in his original e-mail) probably doesn't have a cache... this would only work if using the build-directory version of the dependency project. The solution I propo

Re: [CMake] Searching once

2014-01-15 Thread Al Niessner
Thank you very much for your help. On Wed, 2014-01-15 at 16:11 +, Williams, Norman K wrote: > You want the load_cache command: > > * load_cache: Load in the values from another project's CMake cache. > load_cache(pathToCacheFile READ_WITH_PREFIX > prefix entry1...) > Read the

Re: [CMake] Searching once

2014-01-15 Thread Williams, Norman K
You want the load_cache command: * load_cache: Load in the values from another project's CMake cache. load_cache(pathToCacheFile READ_WITH_PREFIX prefix entry1...) Read the cache and store the requested entries in variables with their name prefixed with the given prefix. This only r

Re: [CMake] Searching once

2014-01-14 Thread Matthew Woehlke
On 2014-01-14 18:47, Al Niessner wrote: [snip] Is it possible to have a dependent project use configuration from a previously installed project? - IF the dependent project creates a ProjectConfig.cmake, and - IF said ProjectConfig.cmake sets the necessary variables referencing where its versio

[CMake] Searching once

2014-01-14 Thread Al Niessner
I am fairly new to cmake but have been through the documentation a dozen or more times and found answers to all of my previous questions. I have googled for another small batch of questions. Now I am stuck, mostly because I am not sure what keywords to use in my search, and would like a little hel