# ------------ Pure Basic 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
CPU Type = All CPU|Dynamic CPU|CPU with MMX|CPU with 3DNOW|CPU with SSE|CPU with SSE2
InlineAsm = no|yes
NT4 compliance = no|yes
Category&03 = OTHER OPTIONS
CommentedAsm = no|yes
Icon = 

Debugger= 

[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.
Debugger=Provides a space for you to set the debugger you want to use to debug application.
CommentedAsm = Create a commented '.asm' output file when creating an executable.
Icon = Provides a space for you to specify an icon file name.
InlineAsm = Enable the inline asm feature (asm routines can be written directly in the BASIC source code).
NT4 compliance = Enable the NT4 compliance for multimedia functions (Sprite, Keyboard, Mouse).
CPU Type = Provides a space for you to specify CPU extension you want to create application/library for.

[SettingsReps]
CommentedAsm = no=|yes=/COMMENTED
Icon = @/ICON "%s"
InlineAsm = no=|yes=/INLINEASM
NT4 compliance = no=|yes=/NT4
CPU Type = All CPU=|Dynamic CPU=/DYNAMICCPU|CPU with MMX=/MMX|CPU with 3DNOW=/3DNOW|CPU with SSE=/SSE|CPU with SSE2=/SSE2

[Variables]

CPATH =C:\Program Files\PureBasic
Options = /QUIET /CONSOLE $(CommentedAsm) $(CPU Type) $(Icon) $(InlineAsm) $(NT4 compliance)

[Environment]

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

[General]

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

[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

[Start Debugger]
Title=Debug $T
Cmd0=$(Debugger) $T
Depends=$T
ShowWindow=1

[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0

[FileGroups]

FGB = .pb;

[Build]

Out = $T
Depends = $FGB
DebugFlag = /DEBUGGER /LINENUMBERING
ReleaseFlag = 
Cmd0 = PBCompiler /EXE "$T" $FGB $R $(Options)
