GET_CMAKE_PROPERTY(v VARIABLES)<br>will fill the variable &quot;v&quot; with a list of the currently defined variables...<br><br>&quot;cmake --help-command GET_CMAKE_PROPERTY&quot; yields:<br><br>cmake version 2.4-patch 6<br>
&nbsp; GET_CMAKE_PROPERTY<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Get a property of the CMake instance.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GET_CMAKE_PROPERTY(VAR property)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Get a property from the CMake instance.&nbsp; The value of the property is<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stored in the variable VAR.&nbsp; If the property is not found, CMake will
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; report an error.&nbsp; Some supported properties include: VARIABLES,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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> &lt;<a href="mailto:joe.karthauser@geomerics.com">joe.karthauser@geomerics.com</a>&gt; 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?&nbsp;&nbsp;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>