GithubHelp home page GithubHelp logo

Comments (5)

fredvs avatar fredvs commented on June 4, 2024

Ooops, ok, I will check this.

Fre;D

from ideu.

fredvs avatar fredvs commented on June 4, 2024

Hello Graeme.

I did some fixes in last commit: 40c0d87..22cda0f

Here video of what appends on my system:
[https://sites.google.com/site/designerext/ideu_new_fpgui.mp4]

PS: You need to create a /units folder in directory of project.
Maybe it will be cool to create that /units directory automatic.

Fre;D

from ideu.

graemeg avatar graemeg commented on June 4, 2024

Thanks Fred, I'll update and take another look.

As for automatically creating the "units/" directory hierarchy - yes that is already possible, and what I have done in my own MSEide templates directory. The required settings are shown in the "Project Options -> Templates -> New Project" screen. One can also use the "New Form" tab settings to define new predefined forms that will appear in the "File -> New -> Form" menu of the IDE.

Take a look at the attached template .prj file - more specifically the newprojectfiles and newprojectfilesdest settings. I had to add a ".txt" extension, otherwise Github would not accept the attachment. According to the attached sample template, you also need to create the /fpgui/units/*/placeholder.txt files, so that the IDE can copy them for a new project.

fpgui.prj.txt

from ideu.

fredvs avatar fredvs commented on June 4, 2024

Hello Graeme.

OK, thanks for the tip, this makes it better:

makeoptions=7
...
 -FUunits/${TARGET}/
...

newprojectfiles=8
 ${TEMPLATEDIR}/fpc_fpgui/files/fpg_program.pas
 ${TEMPLATEDIR}/fpc_fpgui/files/frm_main.pas
 ${TEMPLATEDIR}/fpc_fpgui/files/dummy
 ${TEMPLATEDIR}/fpc_fpgui/files/dummy
 ${TEMPLATEDIR}/fpc_fpgui/files/dummy
 ${TEMPLATEDIR}/fpc_fpgui/files/dummy
 ${TEMPLATEDIR}/fpc_fpgui/files/dummy
 ${TEMPLATEDIR}/fpc_fpgui/files/dummy

newprojectfilesdest=8
 ${%PROJECTNAME%}.pas
 frm_main.pas
 ${%PROJECTDIR%}/units/i386-linux/dummy
 ${%PROJECTDIR%}/units/i386-freebsd/dummy
 ${%PROJECTDIR%}/units/i386-win32/dummy
 ${%PROJECTDIR%}/units/x86_64-linux/dummy
 ${%PROJECTDIR%}/units/x86_64-freebsd/dummy
 ${%PROJECTDIR%}/units/x86_64-win64/dummy

Added fpg_single.prj and fpg_units.prj in /templates.

Note that, with ideU,${FPGUIDIR}is a build-in-defined macro.

Fred;D

from ideu.

graemeg avatar graemeg commented on June 4, 2024

Awesome, thanks.

from ideu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.