User forums > Using Code::Blocks

Change the name of a file during build

(1/1)

Ragayaga:
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.

oBFusCATed:
Edit the template script you're using to create your project.

Navigation

[0] Message Index

Go to full version