GET_CMAKE_PROPERTY(v VARIABLES)
will fill the variable "v" with a list of the currently defined variables...
"cmake --help-command GET_CMAKE_PROPERTY" yields:
cmake version 2.4-patch 6
GET_CMAKE_PROPERTY
Get a property of the CMake instance.
GET_CMAKE_PROPERTY(VAR property)
Get a property from the CMake instance. The value of the property is
stored in the variable VAR. If the property is not found, CMake will
report an error. Some supported properties include: VARIABLES,
CACHE_VARIABLES, COMMANDS, and MACROS.
On 10/18/07, Josef Karthauser <[EMAIL PROTECTED]> wrote:
>
> How do I get a list of all variables currently defined within a run of
> CMake? Is there any easy way of dumping all the variables and their
> values, at the end of a CMakeLists.txt file for instance?
>
> Joe
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake