# ------------ GNU Prolog 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
Libraries = 
Assembler = NASM
Excluded Files = Excludes
Debugger= 
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.
Excluded Files = This will exclude the file(s) included in this UE project group from the build.
Debugger=Provides a space for you to set the debugger you want to use to debug application.
External Dependencies=If you select "yes" option, UE Studio will generate in project group "External Dependencies" from included files.

[SettingsReps]
External Dependencies=yes=1|no=0

[Variables]
CPATH=$(HKEY_CURRENT_USER\Software\GnuProlog\RootPath)
PLOPT = 
MAOPT = 

[Environment]

PATH = $(CPATH)\bin;%PATH%

[General]

TargetExt = .EXE
ReleaseOut = Release
DebugOut = Debug
UseFullPaths = 0
UseDosNames = 0
Excludes = $(Excluded Files)

.PRO = .PL
.CC = .C
.CXX = .C
.C++ = .C
.CPP = .C
GenerateEDGroup=$(External Dependencies)

[MakeCommands]

run = Execute Application
debug=Start Debugger
makef=Show Makefile

[Execute Application]

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

[InsertFiles]

group0 = $(Libraries)

[FileGroups]

FGA = .lib
FGO = .obj

[GroupFormats]

[Build]

Out = $T
Depends = $FGO
Cmd0 = GPLC $(LOPT) -o $O $FGO $FGA

[.PL]

Out = $In.wam
Cmd0 = PL2WAM $(PLOPT) $I -o $O

[.WAM]

Out = $In.ma
Cmd0 = WAM2MA $I -o $O

[.MA]

Out = $In.s
Cmd0 = MA2ASM $(MAOPT) $I -o $O

[.FD]

Out = $In.c
Cmd0 = FD2C $I -o $O

[.S]

Out = $In.obj
Cmd0 = $(Assembler) -f win32 $I -o $O

[.C]

Out = $In.obj
Cmd0 = GPLC -c $(COPT) $I -o $O

IncFiles = 1
CaseSensitive = 0
IncDirs = .;$(INCLUDE);
IncKeyWords = include;
Comments = ;.eol.
[Start Debugger]
Title=Debug $T
Cmd0=$(Debugger) $T
Depends=$T
ShowWindow=1
[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0
