UEStudio setup for FWPPC

UEStudio setup for FWPPC

Postby Antonio Linares » Thu Apr 12, 2007 8:41 pm

Here you have the UEStudio setup to create FWPPC projects with multiple PRG files:

Please create a folder named FWPPC at:
C:\Program Files\IDM Computer Solutions\UEStudio '06\configs\

and copy this file:
www.fivetechsoft.com/files/Application

On a next msg we show a little tutorial about how to use it (quite simple) :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Apr 12, 2007 10:19 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: UEStudio setup for FWPPC

Postby Richard Chidiak » Fri Apr 13, 2007 6:41 am

Antonio :D

There is a small error

the following line should be changed from
HPATHL = $(HPATH)\LIB\vce

to

HPATHL = $(HPATH)\LIB

There is no vce lib in harbour_ce\lib directory

this is a copy of the modified file

Best regards

Richard

# --------- FWPPC configuration --------
# --- general --------------------------------------
# $P - project name
# $Pp - path to project directory
# $Pn - project name
# --- compile -------------------------------------
# $I - input full name
# $Ip - input path
# $In - input name
# $Ie - input extension
# $O - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R - release/debug setting for compiler
# --- build ----------------------------------------
# $T - target full name
# $Tp - target path
# $Tn - target name
# $O - output file
# $Op - path to output file
# $On - output filename (without path)
# $Oe - output extension
# $R - release/debug setting for linker

[Settings]
Target =
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =

Category&02 = Harbour Options
Automatic Memvar Declaration = no|yes
Variables Are Assumed = no|yes
Generate Preprocessed Output = no|yes
Warning Level = 1|2|3|4|0
User Include Path =
User Defines =

Compiler Options =
Linker Options =

Excluded Files = Excludes

[SettingsInfo]
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Working Directory = Provides a space for you to specify the directory in which executing occurs. If you do not specify a directory, executing occurs in the directory where the executable is located.
Command Line Arguments = Provides a space for you to specify command-line arguments you want to pass to the program at startup.
Compiler Options = Provides a space for you to specify an additional compiler options.
User Defines = Shows the switches the tool will use to build. Use ';' as delimiter.
Linker Options = Provides a space for you to specify an additional linker options.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.

[SettingsReps]
User Defines = @[;|-D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Generate Preprocessed Output = no=|yes=/p
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]
Use Multi Thread Library = no|yes
Warning Level = @/w%s

[Variables]
FWPPC = C:\FWPPC
HPATH = C:\Harbour_CE
CPATH = C:\VCE

FWPPCI = $(FWPPC)\include
FWPPCL = $(FWPPC)\lib

HPATHL = $(HPATH)\LIB
CPATHL = $(CPATH)\LIB\ARM

COPT = -W3 -c /DARM /DUNICODE -I$(HPATH)\INCLUDE -I$(CPATH)\INCLUDE\ARM
HOPT = /n /gc0 /q $(Compiler Options) /i$(HPATH)\INCLUDE $(User Include Path&1) $(User Defines) $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Generate Preprocessed Output) $(Warning Level)

LOPT = /nologo /SUBSYSTEM:WINDOWSCE,3.0 /MACHINE:ARM
LIBS1 = $(FWPPC)\LIB\FiveCE.lib $(FWPPC)\LIB\FiveCEC.lib
LIBS2 = $(HPATHL)\rtl.lib $(HPATHL)\vm.lib $(HPATHL)\gtgui.lib $(HPATHL)\lang.lib $(HPATHL)\macro.lib $(HPATHL)\rdd.lib $(HPATHL)\dbfntx.lib $(HPATHL)\dbfcdx.lib $(HPATHL)\dbffpt.lib $(HPATHL)\hbsix.lib $(HPATHL)\debug.lib $(HPATHL)\common.lib $(HPATHL)\pp.lib $(HPATHL)\codepage.lib
LIBS3 = $(CPATHL)\coredll.lib $(CPATHL)\corelibc.lib $(CPATHL)\aygshell.lib $(CPATHL)\commctrl.lib $(CPATHL)\ws2.lib $(CPATHL)\mfcce400.lib $(CPATHL)\ole32.lib $(CPATHL)\oleaut32.lib $(CPATHL)\olece400.lib $(CPATHL)\uuid.lib $(CPATHL)\ceshell.lib $(CPATHL)\wininet.lib
LIBS = $(LIBS1) $(LIBS2) $(LIBS3)

[Environment]
PATH = $(HPATH)\BIN;$(CPATH)\BIN;%PATH%
INCLUDE = $(HPATH)\INCLUDE;$(CPATH)\ARM\INCLUDE;$(FWPPC)\INCLUDE
LIB = $(HPATH)\LIB;$(CPATH)\LIB
OBJ = $(HPATH)\OBJ;
BuildMode = %UESMode%

[General]
TargetExt = .EXE
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 1
UseDosNames = 1
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)
.CPP = .C

[MakeCommands]
run = Execute Application
makef = Show Makefile

[Execute Application]
Title = Execute $T
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = $(DCon)

[Show Makefile]
Title=Show makefile
Cmd0=uestudio makefile
ShowWindow=1
DisplayConsole=0

[InsertFiles]

[FileGroups]
FGO = .obj;
FGR = .res;
FGL = .lib;
FGD = .def;

[GroupFormats]
FGO = %s
FGR = %s
FGL = %s

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag =
ReleaseFlag =
Cmd0 = LINK $(LOPT) $FGO $(LIBS) $(FGR)

[.PRG]
Out = $In.c
DebugFlag = /b
ReleaseFlag = /l
Cmd0 = harbour $I $(HOPT) $R /o$O

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.

[.C]
Out = $In.obj
Cmd0 = clarm $(COPT) -o$O $I

[.RC]
Out = $In.res
Cmd0 = rc -r -32 -fo$O $I

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = #include;
Comments = /*.*/.//.eol.
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Antonio Linares » Fri Apr 13, 2007 7:04 am

Thanks Richard,

Yes, I left my own settings there :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Fri Apr 13, 2007 7:06 am

Also, these two lines may be deleted:

FWPPCI = $(FWPPC)\include
FWPPCL = $(FWPPC)\lib

and I have not tested the RC compiler. Probably its flags are wrong

but now we can build FWPPC apps from UEStudio :-) and it is much simpler than the one provided for xHarbour, so we may implement another for Harbour/xHarbour :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Tue Apr 24, 2007 5:34 pm

Here is the FWPPC UEStudio config file:

http://rapidshare.com/files/27708298/fwppc.zip.html
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 1 guest