Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何看到cmake确切地称之为gcc/g++;命令行?_Gcc_Cmake_Command_Line_Option - Fatal编程技术网

如何看到cmake确切地称之为gcc/g++;命令行?

如何看到cmake确切地称之为gcc/g++;命令行?,gcc,cmake,command,line,option,Gcc,Cmake,Command,Line,Option,当使用cmake时,它似乎没有打印出关于如何调用gcc/g++的命令行内容。我希望看到这些信息,只是想知道cmake是否有任何选项或配置来支持我的请求 非常感谢。如果使用MakefilesGenerator,它就像makeverbose=1一样简单 您还可以在CMakeLists.txt中设置为ON,如果使用MakefilesGenerator,只需makeverbose=1 您还可以在CMakeLists.txt中设置为ON

当使用cmake时,它似乎没有打印出关于如何调用gcc/g++的命令行内容。我希望看到这些信息,只是想知道cmake是否有任何选项或配置来支持我的请求


非常感谢。

如果使用
Makefiles
Generator,它就像
makeverbose=1
一样简单


您还可以在
CMakeLists.txt
中设置为
ON
,如果使用
Makefiles
Generator,只需
makeverbose=1

您还可以在
CMakeLists.txt
中设置为
ON