![]() ![]() In other words, an IDE - that is just a buzzword - is a source code editor suitably configured to run other programs. Take also the good habit to compile with all warnings and debug info, so pass -Wall -Wextra -g to your GCC that is your mingw32-g++ (hence, edit appropriately your Makefile or build.ninja file). Remember that compilers like GCC (even started from IDEs) are command line programs (and your mingw32-g++ is a GCC compiler). ) for CTRL B and use a Makefile, a build.ninja, or some other build automation tool. Configure your editor to run make (or ninja. ![]() ![]() please notify me if you found any mistakes. Configure your editor to run make, and edit your Makefile to make "compile then run" the default target (and likewise with ninja and its build.ninja file). go to Tools -> build system -> new build system -> Paste It -> save it as 'C++', then close it. So build with a good enough build automation tool. I want to have it compiled and run in a single operation. The only problem here is that I have to compile first and then run it. Configure them to run the external programs (compilers, debuggers, your own thing. Source code editors are tools to edit source code. (both GNU make and ninja have good documentation and tutorials, and you could ask questions about them on SO, with some MCVE) So you could add the appropriate rule (to your Makefile etc.) to run something else. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |