Skip to content

Instantly share code, notes, and snippets.

View developer-kikikaikai's full-sized avatar

developer-kikikaikai developer-kikikaikai

View GitHub Profile
@developer-kikikaikai
developer-kikikaikai / cmake_debug
Created March 25, 2019 15:09
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 ***")