Re: [CMake] shell level access to values of cmake variables

2011-12-20 Thread Johannes Zarl
Am Thursday, 10. November 2011, 18:48:06 schrieb vagn scott: > is there something like > cmake --dump-var PROJECT_NAME > that would output the string > hello_foo_baz As far as I know CMake doesn't do this out of the box. As long as you have a configured build tree and only want

Re: [CMake] shell level access to values of cmake variables

2011-11-17 Thread Michael Hertling
On 11/10/2011 06:48 PM, vagn scott wrote: > > > in my CMakeLists.txt file I have a statement > > project(hello_foo_baz) > > This defines PROJECT_NAME among other things. > > is there something like > > cmake --dump-var PROJECT_NAME > > that would output the string > > hell

[CMake] shell level access to values of cmake variables

2011-11-10 Thread vagn scott
in my CMakeLists.txt file I have a statement project(hello_foo_baz) This defines PROJECT_NAME among other things. is there something like cmake --dump-var PROJECT_NAME that would output the string hello_foo_baz TIA, vagn -- Powered by www.kitware.com Visit other Kitwar