danielpinto8zz6 / c-cpp-compile-run

:wrench: Compile & Run single c/c++ files easly on vscode
https://marketplace.visualstudio.com/items?itemName=danielpinto8zz6.c-cpp-compile-run
GNU General Public License v3.0
123 stars 28 forks source link

Add features:c-cpp-link.cpp-flags #361

Open mochunshuang opened 3 months ago

mochunshuang commented 3 months ago

for add a library:need c-cpp-link.cpp-flags to replace g++ -std=c++23 .\Pipe.cpp ${c-cpp-link.cpp-flags} -o Pipe.exe

for instance: g++ -std=c++23 .\Pipe.cpp -lstdc++exp -o Pipe.exe

danielpinto8zz6 commented 2 months ago

The type of link flags you need can be set at the end of the command? e.g: g++ -std=c++23 .\Pipe.cpp -o Pipe.exe ${c-cpp-link.cpp-flags}