Created
March 15, 2025 19:45
-
-
Save mistificator/24a0ffe407bf5e0b089b937627299e0a to your computer and use it in GitHub Desktop.
Print everything defined in CMake project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_cmake_property(_variableNames VARIABLES) | |
list (SORT _variableNames) | |
foreach (_variableName ${_variableNames}) | |
message(STATUS "${_variableName}=${${_variableName}}") | |
endforeach() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment