[CMake] Variable target name visible at the top level

Eric Noulard eric.noulard at gmail.com
Fri Oct 26 05:28:44 EDT 2012


2012/10/26 Vyacheslav Karamov <ubuntulist at yandex.ru>:
> Thank you, but if I need variable two level up?

you may be able to use a GLOBAL property
see:
cmake --help-command set_property

or may be a CACHE variable.

but from my point of view, it looks like you have a design issue.

Why would you need to jump scope like that?


-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list