<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
	<PropertyGroup>
		<_PropertySheetDisplayName>Aegisub project</_PropertySheetDisplayName>
	</PropertyGroup>

	<!-- Base configuration for VC projects -->
	<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
	<PropertyGroup Label="Configuration">
		<ConfigurationType        Condition="'$(AegisubProjectType)'=='lib'">StaticLibrary</ConfigurationType>
		<ConfigurationType        Condition="'$(AegisubProjectType)'=='dll'">DynamicLibrary</ConfigurationType>
		<ConfigurationType        Condition="'$(AegisubProjectType)'=='exe'">Application</ConfigurationType>
		<UseDebugLibraries        Condition="'$(Configuration)'=='Debug'"   >true</UseDebugLibraries>
		<UseDebugLibraries        Condition="'$(Configuration)'=='Release'" >false</UseDebugLibraries>
		<WholeProgramOptimization Condition="'$(Configuration)'=='Release'" >true</WholeProgramOptimization>
		<CharacterSet                                                       >Unicode</CharacterSet>
	</PropertyGroup>
	<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
	
	<ImportGroup Label="PropertySheets">
		<Import Project="$(MSBuildThisFileDirectory)userconfig\*.props" />
		<Import Project="$(MSBuildThisFileDirectory)paths.props" />
		<Import Project="$(MSBuildThisFileDirectory)Aegisub\standard-libraries.props" />
		<Import Project="$(MSBuildThisFileDirectory)standard-settings.props" />
		<Import Project="$(MSBuildThisFileDirectory)standard-outdirs.props" />
		<Import Project="$(MSBuildThisFileDirectory)wx.props" Condition="'$(AegisubUseWxWidgets)' == 'true'" />
	</ImportGroup>

	<!-- The standard targets need to go last for all paths to be proper -->
	<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
