-
vscode生成c++配置文件 F1: Edit configuration
-
vscode修改c++代码格式 { BasedOnStyle: Google, IndentWidth: 4,ColumnLimit: 120 }
https://stackoverflow.com/questions/45823734/visual-studio-code-formatting-for https://clang.llvm.org/docs/ClangFormatStyleOptions.html https://code.visualstudio.com/docs/getstarted/settings
- 生成某一库的include(pacman安装的库,非vcpkg) pkg-config --cflags-only-I gtkmm-3.0 |tr -s " " "\012" | sed -n 's/-I//gp'
-
生成库的链接(放入make文件中) pkg-config --libs gtkmm-3.0
-
二者均生成: pkg-config --cflags-only-I --libs gtkmm-3.0
-
make命令 make test sourcename=hello