franneck94 / Vscode-C-Cpp-Runner

🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀
MIT License
55 stars 14 forks source link

[FEAT] Optimization level control #147

Open handmade0octopus opened 9 months ago

handmade0octopus commented 9 months ago

Hello, It would be nice to have some optimization level control, it appears that it does optimization based on Debug/Release build but it's not ideal as would be super neat to test different optimization levels (especially -Os).

Would that be possible to add as a flag or so it can spot optimization level -0x is already defined by user and then skip it's own forced optimization?

Thank you!