[HELP] Make exe in project's directory

CodeLite installation/troubleshooting forum
Mishkafofer
CodeLite Curious
Posts: 1
Joined: Fri May 11, 2018 6:14 pm
Genuine User: Yes
IDE Question: c++
Contact:

[HELP] Make exe in project's directory

Post by Mishkafofer »

I just starting with codelite and c.
Currently on GCC with codelite 12 with Windows 10.
When i build a project such as Hello World, i get the usual black screen with the printout but when i go to the project's directory i don't see exe file. I googled and understand that they are outputted to some kind default directory.
But i prefer each exe in it's project's directory. I am not sure where to change that.

Why codelite by default not making exe in project's directory? I presume that this is kind of convention.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: [HELP] Make exe in project's directory

Post by eranif »

right click on the project->settings->general->output file

and set it to:

$(ProjectPath)/$(ProjectName).exe

Eran
Make sure you have read the HOW TO POST thread
Post Reply