On Tuesday 23 June 2009, Xiangyun Kong 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.
Yes.
Or you could use a GLOBAL property.
Alex
_______________________________________________
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