Results 1 to 5 of 5

Thread: How to create new project templates the Laz Team way?

  1. #1
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    How to create new project templates the Laz Team way?

    Hey anyone (Vincent, dmantone?) know how I can create new project templates for the New... dialog?

    I don't want to install some plug-in, but rather do it the way that the Laz team themselves added the existing options.

    Been trying to look this up in the wiki, but found nothing. :?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  2. #2

    How to create new project templates the Laz Team way?

    Project templates are hard coded in %lazsrc%/ide/project.pp. Try to look at eg. TProjectApplicationDescriptor
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    How to create new project templates the Laz Team way?

    Wow... seems kind of like they did it the hard way, no?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    How to create new project templates the Laz Team way?

    Ok so I see TProjectProgramDescriptor and TProjectApplicationDescriptor and so on...

    So whats the best way for me to create and include my own here? :scratch:

    This is inside the project.pp file as Legolas explains above.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #5

    How to create new project templates the Laz Team way?

    Quote Originally Posted by Legolas
    Project templates are hard coded in %lazsrc%/ide/project.pp. Try to look at eg. TProjectApplicationDescriptor
    The defaults are hard code, but you can create new templates. Look at components\cgi\ide and components\fpcunit\ide for examples.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL