On Wed, Jul 7, 2010 at 3:06 PM, Michael Wild <them...@gmail.com> wrote: > project(bla NONE) > > set_property(GLOBAL PROPERTY v "13") > add_subdirectory(foo) > get_property(v GLOBAL PROPERTY v) > message("final v: ${v}") > > > For properties you must always use getters and setters, they are never > directly mapped to variables.
Cool ! Work like a charm. Thanks -- Mathieu _______________________________________________ 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