Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Ragayaga on February 18, 2013, 01:29:11 am

Title: Change the name of a file during build
Post by: Ragayaga on February 18, 2013, 01:29:11 am
Hi everyone,

I want to make the name of the default file (main.c) to be the same of the project, for example if my project's name is MyProject then I want by default MyProject.c instead of main.c.

How can that be achieved?

Thanks for your help.

Title: Re: Change the name of a file during build
Post by: oBFusCATed on February 18, 2013, 12:36:27 pm
Edit the template script you're using to create your project.