Hi people, just wanted to share this: the following 4 lines print all cmake variables and their values.

get_cmake_property( P VARIABLES )
foreach( VAR in ${P} )
 message( STATUS "  ${VAR}=${${VAR}}" )
endforeach()

Best


--
Fernando Cacciola
SciSoft
http://fcacciola.50webs.com
http://groups.google.com/group/cppba



_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to