Hi, set(global_name value CACHE INTERNAL FORCE)
Andy On Mon, Jun 22, 2009 at 6:35 PM, Xiangyun Kong <[email protected]> wrote: > > > How could I define a global scoped variable in CMAKE, so that I could use > something like, > > set (global_name ${global_name} {files}) > > to collect all files in each sub-catogory recursively ? > > It seems I could only use PARENT_SCOPE to make the parent directory > aware of the variable. > > Thanks for any hints. > > Xiangyun > > _______________________________________________ > 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 > -- Lets bike the world together http://legoandy.com
_______________________________________________ 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
