[CMake] print path variables within submodules?

Carlton Banks noflaco at gmail.com
Sun Oct 29 08:02:56 EDT 2017


I am using submodule cmake, in which the relative paths becomes a bit more confusing that I would have hoped. 

Is there a way to print the path like ${source_dir} and so on within the CMAKElist, so I can keep track of the paths defined?

I tried `message(${source_dir})` but the output is empty




More information about the CMake mailing list