Re: [CMake] Any portable way in CMake build tree to find Source tree path?

2013-01-26 Thread Cory Quammen
Oops, I didn't know about that command. I tried it out, and it works like a charm. Thanks for pointing it out, Alex! Cory On Sat, Jan 26, 2013 at 3:25 AM, Alexander Neundorf wrote: > On Saturday 26 January 2013, Cory Quammen wrote: >> Kent, >> >> I have a CMake function that may be of interest

Re: [CMake] Any portable way in CMake build tree to find Source tree path?

2013-01-26 Thread Alexander Neundorf
On Saturday 26 January 2013, Cory Quammen wrote: > Kent, > > I have a CMake function that may be of interest to you (see attached file). > > For your purposes, use it as follows: > > GetCMakeCacheValue( "${ABC_BUILD_DIR}" ABC_SOURCE_DIR ) > > where the project against which you want to build is