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!
Settings...->Custom Build->Compile Single File
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Apr 05, 2010 6:34 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Settings...->Custom Build->Compile Single File
There is none.jbarnesweb wrote:Which macro expands to the .cpp file I right clicked on in the Workspace tree?
The best you can get atm, is open the file that you want to compile in the editor, once it is opened and active, you can use the macro $(CurrentFileFullPath)
Eran
Make sure you have read the HOW TO POST thread