UEStudio - FWPPC config

UEStudio - FWPPC config

Postby Antonio Linares » Thu Mar 29, 2007 5:13 am

Hello Richard,

Did you have a chance to start working on it ?

We are quite interested to provide it to FWPPC users. Please let us know if we can help, thanks
regards, saludos

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

Re: UEStudio - FWPPC config

Postby Richard Chidiak » Thu Mar 29, 2007 6:39 am

Antonio

I was quite busy lately, i will work on it today or tomorrow

Regards

Richard
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

Re: UEStudio - FWPPC config

Postby Richard Chidiak » Fri Mar 30, 2007 5:16 pm

Antonio

I have not yet finished the script

Harbour + vc compile goes ok

I am having trouble with link in the script.

I can not see where the problem comes from, maybe someone can take a look ?

I will continue on it till it is ok.

Meanwhile, here is the script.

In \program files\idm computer solutions\ue studio'06\config

Create a folder named Harbour_ce

In this folder create a file named APPLICATION without extension

Copy the following script in it

# ----- Harbour_ce-FiveWin POCKET PC Compiler 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
GUI = FWPPC
Automatic Memvar Declaration = no
Variables Are Assumed = no
Generate Preprocessed Output = no|yes
Exit Severity = 0|1|2
Use Harbour Dll = no|yes
User Include Path =
User Defines =
Harbour Options = -n -m -es2 -go
Compiler Options =
Linker Options =

[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.

[SettingsReps]
User Defines = @[;|/D%s]
Automatic Memvar Declaration = no=|yes=/a
Variables Are Assumed = no=|yes=/v
Exit Severity = @/es%s
Generate Preprocessed Output = no=|yes=/p
Use Harbour Dll = no=|yes=harbour.lib
User Include Path = ^^@[;|;%s]
User Include Path&1 = ^^@[;| /i%s]

[Variables]
FWDIR = C:\Fwppc
HDIR = C:\Harbour_CE
VCDIR = c:\vce

HOPT = $(HARBOUR Options) /i$(HDIR)\INCLUDE $(User Include Path&1) $(FWDIR)\include /n $(Automatic Memvar Declaration) $(Variables Are Assumed) $(Exit Severity) $(User Defines) $(Generate Preprocessed Output)
COPT = $(Compiler Options) -W3 -c /DARM /DUNICODE
LIBC = rtl.lib vm.lib gtgui.lib lang.lib macro.lib rdd.lib pp.lib dbfntx.lib dbfcdx.lib dbffpt.lib common.lib codepage.lib hbsix.lib
LIBL = coredll.lib corelibc.lib aygshell.lib ws2.lib mfcce400.lib ole32.lib ceshell.lib commctrl.lib wininet.lib cellcore.lib
FWLIB = fiveCE.lib fiveCEC.lib
LIBS = {[$(BuildMode)=][Debug=debug.lib]} $(FWLIB) $(LIBC) $(LIBL)
LOPT = $(Linker Options) /nologo /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:ARM

[Environment]
PATH = $(HDIR)\BIN;$(vcdir)\BIN;%PATH%
INCLUDE = $(FWDIR)\Include;$(HDIR)\Include;$(VCDIR)\Include\ARM;$(User Include Path)
LIB = $(HDIR)\LIB;$(FWDIR)\LIB;$(VCDIR)\lib\arm
OBJ = $(HDIR)\OBJ;
BuildMode = %UESMode%

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

[MakeCommands]
run = Execute Application
makef = Show Makefile

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

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

[InsertFiles]

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

[Build]
Out = $T
Depends = $FGO $FGR
DebugFlag =
ReleaseFlag =
Cmd0 = $(VCDIR)\bin\link $FGO $FGL $FGR $(LIBS) $On $R $(LOPT)

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

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

[.C]
Out = $In.obj
Cmd0 = $(VCDIR)\bin\clarm $I $(COPT) $O

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 94 guests