我正在尝试编写一个小的构建脚本 - 并且想要确定包含是否包含系统.所以我希望g ++告诉我它正在使用的包含路径.
cpp -v似乎是最好的镜头,但它并没有给我C++路径.
所以我尝试过:
g++ -Xpreprocessor -v
哪个不能正常工作 - g ++捕获-v为它自己的详细输出.
谢谢,奥利弗
build-automation g++ path include
build-automation ×1
g++ ×1
include ×1
path ×1