For Geany on Windows 11, how can I create a "build and run" command?

80 Views Asked by At

In Geany, I need to build the program first and then run it.

I was wondering if there is one button for build and run--as in codeblocks, for example--it would be nice. I've tried so many different things, but nothing seems to work. I've tried to add this command, but as I stated it didn't work: g++ -Wall -o "%e" "%f" && "./%e"

Here are the default build commands:

An image of my build commands, which are the default ones

I've tried the proposed solutions here, but they didn't work.

Is there a way to have a button do "build and run" in the Geany IDE?

0

There are 0 best solutions below