pugixml/msvc/pugixml.props
2015-11-13 10:34:10 +03:00

30 lines
1.6 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_CommonPropsPrefix contain only part of PropertySheet path:
Absolute path to directory and first part of file name -->
<PUGI_CommonPropsPrefix>$(ProjectDir)props\common</PUGI_CommonPropsPrefix>
</PropertyGroup>
<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>
<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>
</Project>