Author Topic: Changing the program name for different modes  (Read 413 times)

Offline tuchin

  • Multiple posting newcomer
  • *
  • Posts: 15
Changing the program name for different modes
« on: April 02, 2024, 08:13:47 pm »
Hello!
Is it possible to configure Code blocks so that rel for release and dbg for debug are added to the program name? On my Linux, the program has the name of the project directory and an error occurs when trying to run the program. If the program is renamed, it starts normally. There is no such problem in Windows.

Offline nenin

  • Almost regular
  • **
  • Posts: 212
Re: Changing the program name for different modes
« Reply #1 on: April 03, 2024, 12:23:58 pm »
Project->Properties->[Build Targets] - under Win you can assign names as you wish for all targets. I suppose under Lin situation should be the same.

Offline tuchin

  • Multiple posting newcomer
  • *
  • Posts: 15
Re: Changing the program name for different modes
« Reply #2 on: April 03, 2024, 04:29:00 pm »
Thank you very much, everything worked out