[CMake] stupid question #1: parent dir of top level cmake dir
Tyler Roscoe
tyler at cryptio.net
Thu Jun 18 01:32:46 EDT 2009
On Wed, Jun 17, 2009 at 05:40:02PM -0700, Russell L. Carter wrote:
> I see there is a PARENT_DIRECTORY property on the current source
> dir for all dirs but the top level dir, where the docs state the
> property returns an empty string. What would be The Cross
> Platform CMAKE Way for getting the parent directory of the top
> level cmake directory path?
${parent_directory}/..
?
tyler
More information about the CMake
mailing list