GET_CMAKE_PROPERTY(v VARIABLES)<br>will fill the variable "v" with a list of the currently defined variables...<br><br>"cmake --help-command GET_CMAKE_PROPERTY" yields:<br><br>cmake version 2.4-patch 6<br>
GET_CMAKE_PROPERTY<br> Get a property of the CMake instance.<br><br> GET_CMAKE_PROPERTY(VAR property)<br><br> Get a property from the CMake instance. The value of the property is<br> stored in the variable VAR. If the property is not found, CMake will
<br> report an error. Some supported properties include: VARIABLES,<br> CACHE_VARIABLES, COMMANDS, and MACROS.<br><br><br><br><div><span class="gmail_quote">On 10/18/07, <b class="gmail_sendername">Josef Karthauser
</b> <<a href="mailto:joe.karthauser@geomerics.com">joe.karthauser@geomerics.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do I get a list of all variables currently defined within a run of<br>CMake? Is there any easy way of dumping all the variables and their<br>values, at the end of a CMakeLists.txt file for instance?<br><br>Joe<br>_______________________________________________
<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>