Author Topic: Target in user template has wrong name  (Read 3069 times)

Offline manmach

  • Multiple posting newcomer
  • *
  • Posts: 39
Target in user template has wrong name
« on: September 12, 2007, 01:54:29 pm »
I have just tried to create a new project from a user created template. The wizard asks for a new project name, but the target executable name remains the same as the one which the template was created from.

It might be nice to either have the wizard ask, or to simply have the executable(s) be named the same as the project.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Target in user template has wrong name
« Reply #1 on: September 12, 2007, 02:40:16 pm »
I have just tried to create a new project from a user created template.
Do you really mean template or wizard? In case of a template the output executable name is usually hard-coded. In case  of a wizard please tell us which one. The wizards can setup the output executable name and do this exactly like you have said usually.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Target in user template has wrong name
« Reply #2 on: September 12, 2007, 03:11:15 pm »
I've prepared a fix and I'm currently testing it. Please wait. :)

Edit 1: Fix committed in rev 4466.
« Last Edit: September 12, 2007, 03:43:30 pm by Biplab »
Be a part of the solution, not a part of the problem.

Offline manmach

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: Target in user template has wrong name
« Reply #3 on: September 13, 2007, 01:57:27 pm »
I can confirm the fix.