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 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

Reply via email to