Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Change the name of a file during build
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Change the name of a file during build (Read 3688 times)
Ragayaga
Guest
Change the name of a file during build
«
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.
Logged
oBFusCATed
Developer
Lives here!
Posts: 13406
Re: Change the name of a file during build
«
Reply #1 on:
February 18, 2013, 12:36:27 pm »
Edit the template script you're using to create your project.
Logged
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Change the name of a file during build