# -------- Visual Studio 2012 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 = 
Framework = 4.5|4.5|3.5|3.0|2.0.50727
Category&01 = DEFAULT RUN CONFIGURATION
Working Directory =.
Command Line Arguments =
Category&02 = COMPILER OPTIONS
Warning Level = 3|0|1|2|4
Excluded Files = Excludes
References  = References
Conditional (Debug) = DEBUG;TRACE
Conditional (Release) = TRACE
Warn As Error = /warnaserror-|/warnaserror+
Compiler Options = 
Debugger=
MSSDK = v7.0A|v7.1

[SettingsInfo]
MSSDK = Specify MSSDK version you have installed.
Target = Provides a space for you to specify an output file and location of the program that the linker creates.
Framework = .NET Framework.
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.
Warning Level = Specifies the severity of warning for which the compiler generates messages.
Excluded Files = This will exclude the file(s) included in this project group from the build.
References = All files (DLL) included in project group with this name will be set as reference libraries.
Conditional (Debug) = Specify symbols on which to perform conditional compilation.
Conditional (Release) = Specify symbols on which to perform conditional compilation.
Unsafe Code = The /unsafe+ option allows code that uses the unsafe keyword to compile.
Warn As Error = The /warnaserror+ option treats all warnings as errors. Any messages that would ordinarily be reported as warnings are instead reported as errors.
Check Arithmetic = Specify whether integer arithmetic that overflows the bounds of the data type will cause an exception at run time.
Compiler Options = Provides a space for you to specify an additional compiler options.
Debugger=Provides a space for you to set the debugger you want to use to debug application.

[Variables]

CPATH = $(HKEY_LOCAL_MACHINE\SOFTWARE$6432\Microsoft\.NETFramework\InstallRoot)v$(Framework)
MSSDKDir = $(HKEY_LOCAL_MACHINE\SOFTWARE$6432\Microsoft\Microsoft SDKs\Windows\$(MSSDK)\InstallationFolder)

[Environment]

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

[General]

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

[MakeCommands]

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

[Disassemble]

Title = Disassemble $T
Cmd0 = ILDASM $T
Depends = $T
ShowWindow = 1

[Execute Application]

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

[Start Debugger]

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

[InsertFiles]

[FileGroups]

FGCS = .fs;
FGREF = $(References);
FGRES = .res;
FGICO = .ico;
FGRSC = .resources;
FGDE = .fs;.res;.ico;.resources;

[GroupFormats]

FGREF = /r:%s
FGRES = /win32res:%s
FGICO = /win32icon:%s
FGRSC = /resource:%s

[Build]

Out = $T
Depends = $FGDE
ReleaseFlag = /debug- /d:$(Conditional (Debug))
DebugFlag = /debug+ /d:$(Conditional (Release))
Cmd0 = fsc /nologo $(Compiler Options) /out:$O /t:winexe $R $(WL) $FGCS $FGREF $FGRES $FGICO $FGRSC

[.RESX]

Out = $In.resources
Cmd0 = ResGen $I $O
[Show Makefile]
Title=Show makefile
Cmd0=uestudio $(UESMAKEFILE)
ShowWindow=1
DisplayConsole=0
