# --------------- HLA 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 = COMPILER OPTIONS
Warning Level = 3|0|1|2
Machine = IX86|ALPHA|ARM|MIPS|MIPS16|MIPSR41XX|PPC|SH3|SH4
Libraries = hlalib.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib
Excluded Files = Excludes
Compiler Options = 
Linker Options =
External Dependencies=yes|no

[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.
Libraries = Provides a space for you to specify an object file or standard library (either static or import) to pass to the linker. Separate file names with a space.
Warning Level = Specifies the severity of warning for which the compiler generates messages.	
Machine = This option specifies the target platform for the program.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.
Compiler Options = Provides a space for you to specify an additional compiler options.
Linker Options = Provides a space for you to specify an additional linker options.
External Dependencies=If you select "yes" option, UE Studio will generate in project group "External Dependencies" from included files.

[Variables]

CPATH=C:\HLA
MPATH=C:\MASM32
WL = /W$(Warning Level)
Debugger = windbg

[Environment]

HLAINC = $(CPATH)\INCLUDE
HLALIB = $(CPATH)\HLALIB\HLALIB.LIB

PATH = $(CPATH);$(MPATH)\BIN;
INCLUDE = $(CPATH)\INCLUDE;$(MPATH)\INCLUDE
LIB = $(MPATH)\LIB;$(CPATH)\HLALIB

[General]

TargetExt = .DLL
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 0
UseDosNames = 0
Excludes = $(Excluded Files)
GenerateEDGroup=$(External Dependencies)

[MakeCommands]

run = Execute Application
peview=PEview
makef=Show Makefile

[Execute Application]

Title = Execute $(Command Line Arguments)
Cmd0 = $(Command Line Arguments)
Depends = $T
ShowWindow = 1
DisplayConsole = 1

[InsertFiles]

group0 = $(Libraries)

[FileGroups]

FGO = .obj;.res;
FGL = .lib;
FGD = .def;

[GroupFormats]

FGO = %s
FGL = %s
FGD = /def:%s

[Build]

Out = $T
Depends = $FGO
ReleaseFlag = /incremental:no
DebugFlag = /incremental:yes /debug
Cmd0 = LINK /DLL /NOLOGO $(Linker Options) /MACHINE:$(Machine) /implib:$Tn.lib $FGD /OUT:$O $R $FGO $FGL

[.RC]

Out = $In.res
Cmd0 = RC /fo$O $I

[.HLA]

Out = $In.obj
Cmd0 = HLA -c -o:win32 -obj:.\ -p:.\ $I

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

[.ASM]

Out = $In.obj
Cmd0 = ML /nologo /coff /c /Cp $(Compiler Options) /Fo$O $I

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

[.NSM]

Out = $In.obj
Cmd0 = NASMW -f win32 -i$Ip -o$O $I
[PEview]
Title=Show PE Information
Depends=$T
Cmd0=uetools -pe $T
ShowWindow=1
DisplayConsole=0
[SettingsReps]
External Dependencies=yes=1|no=0
[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0
