I would like to know if there is any way to debug a cmake process that forcing the command to print mode details about how variables are getting some value. For example, I see
-- Boost version: 1.63.0
-- Boost version: 1.63.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- timer
-- chrono
And I would like to know where does that version is checked and found.
I have added set(CMAKE_VERBOSE_MAKEFILE ON) in the first line of CMakeLists.txt prior to running cmake ... However, I don't see any verbose message.
I am looking for some thing like set -x in bash programming.