Skip to content

Instantly share code, notes, and snippets.

@developer-kikikaikai
Created March 25, 2019 15:09
Show Gist options
  • Save developer-kikikaikai/88d479fe20946272a4cdc7be42a07a18 to your computer and use it in GitHub Desktop.
Save developer-kikikaikai/88d479fe20946272a4cdc7be42a07a18 to your computer and use it in GitHub Desktop.
Show all variables in cmake file, according to [here](http://zashikiro.hateblo.jp/entry/2014/05/17/001314)
message(STATUS "*** dump start cmake variables ***")
get_cmake_property(_variableNames VARIABLES)
foreach(_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
message(STATUS "*** dump end ***")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment