make - project

Post Reply
yardenmo
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

make - project

Post by yardenmo »

Hi Antonio,

From the samples I can see how to compile and link one prg with buildce.

How do I compile some Prgs (like make / project)?

**I can see in FWPPC\makes the go.bat and test.mak, but i'm not sure that I understood it all.



Thanks,
Moshe Yarden
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

I use Xmate No problem ( for fwh and fwppc)
Best Regards, Saludos

Falconi Silvio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Moshe,

You can easily add more PRGs to buildce.bat:

%hdir%\bin\harbour %1 /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include %1.c

%hdir%\bin\harbour two.prg /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include two.c

%hdir%\bin\harbour three.prg /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include three.c

...

echo %1.obj two.obj three.obj > msvc.tmp
...

You can add more the same way
regards, saludos

Antonio Linares
www.fivetechsoft.com
yardenmo
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Post by yardenmo »

Thanks.

I've downloaded xMate - its seems that it will take time to leaarn it.

The sample Antonio sent is working ok.


Regards,
Moshe
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Moshe,

We do use and recommend UEStudio as a powerful and professional IDE with visual make, source code editor, sources files compare, and a lot more features.

We can help you to learn how to build your projects with UEStudio.

Also there are some available tutorial videos posted in these forums.
regards, saludos

Antonio Linares
www.fivetechsoft.com
yardenmo
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Post by yardenmo »

Antonio,

Thanks. I'll try it.

Are there 3rd party libs for FWPPC to shorten the screens/get/say (objects) writing process?
I need to convert an application written in turbo pascal to fwppc, and it has a lot of screens and alerts or yes/no boxes. It could help to use functions that are having the objects in them.

Regards,
Moshe Yarden
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Moshe,

You should use a resources editor for such task. There are many of them, and they will speed up very much the design of your screens:

ResEdit: (free)
http://www.resedit.net/

PellesC (free)
http://www.smorgasbordet.com/pellesc/

VSX (Microsoft) free
http://forums.fivetechsoft.com/viewtopic.php?t=9572

But if you already have the source code in Turbo Pascal, then I would suggest you to build a little tool to parse your already design screens and translate them into RC files (ascii).

Please review fwppc\samples\*.rc to understand the structure of RC files. They are quite simple.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply