Author Topic: Make a template  (Read 21057 times)

kazary

  • Guest
Make a template
« on: February 23, 2011, 12:18:55 am »
I'm starting to study C, and already use Code: Blocks, and sometimes the Visual + + 2010 Express. I read some tutorials about setup Code: Blocks with MinPSP. I saw the MinPSP has a plugin for Eclipse that makes it much easier, but as I said before I'm using Code: Blocks, i am more familiar with it. Well I would like to know if it is possible in Code:: Blocks make a template (user template) for a PSP Homebrew Project, as SDL Project, Ogre Project etc.

Summarizing I wonder how to make one user template for the PSP development, for when I click on that template already set everything out, makefile, Icon0.png(a template) etc.
Thanks

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12701
    • Travis build status
Re: Make a template
« Reply #1 on: February 23, 2011, 12:29:52 am »
The templates are squirrel scripts (the scripting language used by C::B)

Right click on any template -> Edit script... then see what the other templates are doing...
Here http://wiki.codeblocks.org/index.php?title=Scripting_Code::Blocks you could find more info about scripting C::B
(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!]

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Make a template
« Reply #2 on: February 23, 2011, 06:45:38 am »
Another thing, that's worth a try and much easier to do:

set up a basic working project and save it as user template with "File -> Save Project as template ...".
« Last Edit: February 23, 2011, 07:10:28 am by jens »