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
make - project
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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.
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.