58 lines
2.9 KiB
XML
58 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<!-- Prefix "_" make property invisible for Visual Studio user -->
|
|
<PropertyGroup>
|
|
<PUGI_Rtl_Type Condition="'$(PUGI_Use_Static_Rtl)'=='True'">Static</PUGI_Rtl_Type>
|
|
<PUGI_Rtl_Type Condition="'$(PUGI_Use_Static_Rtl)'!='True'">Dynamic</PUGI_Rtl_Type>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- PUGI_XxxxPropsPrefix contain only part of PropertySheet path:
|
|
Absolute path to directory and first part of file name -->
|
|
<PUGI_CommonPropsPrefix>$(ProjectDir)props\common</PUGI_CommonPropsPrefix>
|
|
<PUGI_VcverPropsPrefix>$(ProjectDir)props\msvc$(PlatformToolsetVersion)</PUGI_VcverPropsPrefix>
|
|
</PropertyGroup>
|
|
|
|
|
|
<!-- Property sheets common for all projects -->
|
|
<PropertyGroup>
|
|
<PUGI_Props_Common >$(PUGI_CommonPropsPrefix).props</PUGI_Props_Common>
|
|
<PUGI_Props_CommonConf >$(PUGI_CommonPropsPrefix).$(Configuration.ToLower()).props</PUGI_Props_CommonConf>
|
|
<PUGI_Props_CommonPlatf >$(PUGI_CommonPropsPrefix).$(Platform.ToLower()).props</PUGI_Props_CommonPlatf>
|
|
<PUGI_Props_CommonConfRtl>$(PUGI_CommonPropsPrefix).$(Configuration.ToLower()).$(PUGI_Rtl_Type.ToLower()).props</PUGI_Props_CommonConfRtl>
|
|
</PropertyGroup>
|
|
|
|
<!-- Property sheets specific for MSVC version -->
|
|
<PropertyGroup>
|
|
<PUGI_Props_Vcver >$(PUGI_VcverPropsPrefix).props</PUGI_Props_Vcver>
|
|
<PUGI_Props_VcverConf >$(PUGI_VcverPropsPrefix).$(Configuration.ToLower()).props</PUGI_Props_VcverConf>
|
|
<PUGI_Props_VcverPlatf>$(PUGI_VcverPropsPrefix).$(Platform.ToLower()).props</PUGI_Props_VcverPlatf>
|
|
</PropertyGroup>
|
|
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Condition="exists('$(PUGI_Props_Common)')" Project="$(PUGI_Props_Common)" />
|
|
<Import Condition="exists('$(PUGI_Props_CommonConf)')" Project="$(PUGI_Props_CommonConf)" />
|
|
<Import Condition="exists('$(PUGI_Props_CommonPlatf)')" Project="$(PUGI_Props_CommonPlatf)" />
|
|
<Import Condition="exists('$(PUGI_Props_CommonConfRtl)')" Project="$(PUGI_Props_CommonConfRtl)" />
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Condition="exists('$(PUGI_Props_Vcver)')" Project="$(PUGI_Props_Vcver)" />
|
|
<Import Condition="exists('$(PUGI_Props_VcverConf)')" Project="$(PUGI_Props_VcverConf)" />
|
|
<Import Condition="exists('$(PUGI_Props_VcverPlatf)')" Project="$(PUGI_Props_VcverPlatf)" />
|
|
</ImportGroup>
|
|
|
|
<!--
|
|
Import custom property sheet. It allow user to customize build without props/vcxproj editing.
|
|
User can create his own props, and set its path to PUGI_Props_External property.
|
|
For example:
|
|
MsBuild.exe /p:PUGI_Props_External=d:\MyProps.props pugixml_vs2010.vcxproj
|
|
-->
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Condition="exists('$(PUGI_Props_External)')" Project="$(PUGI_Props_External)" />
|
|
</ImportGroup>
|
|
|
|
</Project>
|