Settings...->Custom Build->Compile Single File
Posted: Mon Apr 05, 2010 7:46 pm
I set up a project to use an existing makefile in Settings...->Custom Build.
The Makefile doesn't have a "compile single file" target, so I would like to add a command that calls g++ directly. Which macro expands to the .cpp file I right clicked on in the Workspace tree?
If I can't provide a file argument to g++, it will complain with "no input files".
Great job delivering the best gnu C++ IDE!
The Makefile doesn't have a "compile single file" target, so I would like to add a command that calls g++ directly. Which macro expands to the .cpp file I right clicked on in the Workspace tree?
If I can't provide a file argument to g++, it will complain with "no input files".
Great job delivering the best gnu C++ IDE!