On Wed, Jun 17, 2009 at 10:32:46PM -0700, Tyler Roscoe wrote:
> 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}/..
>
> ?
Oh, I misunderstood the question.
${CMAKE_HOME_DIRECTORY}/..
tyler
_______________________________________________
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