Naming of .exe files

General questions regarding the usage of CodeLite
Tigers!
CodeLite Enthusiast
Posts: 13
Joined: Mon Feb 23, 2009 10:05 am
Location: Australia
Contact:

Naming of .exe files

Post by Tigers! »

I have a project called ScanImagesCleanUp. I have a collection of .cpp files AU_PickList-n where n is the number of the file. Currently I can only have only 1 file under the src folder at any given time. Is it possible to have >1 file without a build error tellinge I have > 1 main?
When I build the current file it builds the .exe as ScanImagesCleanUp.exe rather than AU_PickList-n.exe. This means I lose any previous .exe versions. Is it possible to have the .exe follow the .cpp name rather than the project name?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Naming of .exe files

Post by eranif »

No and this is not a codelite problem.

You must set up a project for each application.
You may have as many files as you want in a project, but only one active 'main' function. This is how the compiler/linker works.

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