tree-hacker
tree-hacker

Reputation: 5471

Change the executable name in Eclipse for C++

I've created a C++ project in Eclipse and currently it builds an executable called file.exe but I want to change this to "file".

How do I do this?

Thanks.

Upvotes: 3

Views: 5411

Answers (2)

ChristophK
ChristophK

Reputation: 793

To change the name of the executable and it's extension go to:

Project Settings > C/C++ Build > Settings > Build Artifact

Upvotes: 14

Alexander Rafferty
Alexander Rafferty

Reputation: 6233

You cannot remove the .exe from the filename, because windows uses this to determine the file type, and be removing the .exe, then it will not know that the file is an executable.

Upvotes: -1

Related Questions