News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Saving the .exe files

Started by Jc6828, May 30, 2012, 05:43:13 PM

Previous topic - Next topic

Jc6828

Hi, Could you tell me please where I set the choice of where C::B saves .exe files as it doesn't seem to save them in the same folder as my .cpp and cbp files but opens a directory called 'outputting' in the parent directory which my project is in.

Sorry it's such a basic (?) question but I have looked everywhere I can think of and can't find a choice anywhere.

zabzonk

Project|Properties...|Build Targets. Then you specify the path  and executable name in the Output Filename: edit.

Jc6828

Ah I see, so you hve to set it differently every time, I was rather hoping it would automatically save it in the directory the .cpp and .cbp files were in.

Thanks anyway.

zabzonk

> I was rather hoping it would automatically save it in the directory the .cpp and .cbp files were in.

Mostly, you don't want that, as you will have several different build targets (Debug and Release for example), and you want the executables  for the different targets to be put in different places. Putting the executable in the same directory as the .cpp files would only really work for very simple projects.