CMakeLists文件中打印出里面定义的变量的值 语法:MESSAGE("include folder: "${include_dir}) 在执行cmaek 命令的时候就会输入${include_dir}的值