Configuration file

From Pigmeo - .NET/Mono/CLI (C#, VB.NET, C++/CLI, Nemerle...) for microcontrollers (PIC, dsPIC, AVR...)

When using Pigmeo Compiler you need to pass a config file as a parameter. That config file specifies everything the compiler needs to compile your program. The config file usually has the .pcc extension.

Config file versions

1.0

<PigmeoCompilerConfig fileversion="0.1">
	<Target>
		<arch>PIC8bit</arch>
		<branch>PIC16F59</branch>
	</Target>
	<ResourceFiles>
		<Resource type="CilBytecodes" file="./Program.cs" source="local" />
		<Resource type="CilBytecodes" file="System.dll" source="GAC" />
	</ResourceFiles>
	<OutputFiles> <!-- all of them are optional -->
		<PckGross file="./PckGross.exe" /> <!-- all needed CIL bytecodes in a package -->
		<PckUseful file="./PckUseful.exe" /> <!-- useful CIL bytecodes which are going to be compiled, after removing those that are not used -->
		<PckOptim file="./PckOptim.exe" /> <!-- useful CIL bytecodes optimized for any architecture -->
		<PckOptimArch file="./PckOptimArch.exe" /> <!-- useful CIL bytecodes optimized for the target architecture -->
		<Asm file="./asm.asm" /> <!-- Generated assembly language -->
		<AsmOptim file="./asm.asm" /> <!-- Optimized assembly language -->
		<Binary file="./bin.hex" /> <!-- Binary ready for being executed on the target architecture -->
	</OutputFiles>
	<Optimizations>
		<AllStaticFunctionsInline>true</AllStaticFunctionsInline> <!-- all the static functions will be embedded where they are called. The code will be faster but much more bigger -->
	</Optimizations>
</PigmeoCompilerConfig>