Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sanear.vcxproj')
-rw-r--r--sanear.vcxproj15
1 files changed, 14 insertions, 1 deletions
diff --git a/sanear.vcxproj b/sanear.vcxproj
index 99c5b37..0b687f3 100644
--- a/sanear.vcxproj
+++ b/sanear.vcxproj
@@ -22,7 +22,20 @@
<ProjectGuid>{BB2B61AF-734A-4DAD-9326-07F4F9EA088F}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <Import Project="..\sanear.props" />
+ <Choose>
+ <When Condition="'$(SanearPropsPath)' != ''" />
+ <When Condition="'$(SolutionDir)' != '' And Exists('$(SolutionDir)sanear.props')">
+ <PropertyGroup>
+ <SanearPropsPath>$(SolutionDir)sanear.props</SanearPropsPath>
+ </PropertyGroup>
+ </When>
+ <Otherwise>
+ <PropertyGroup>
+ <SanearPropsPath>..\sanear.props</SanearPropsPath>
+ </PropertyGroup>
+ </Otherwise>
+ </Choose>
+ <Import Project="$(SanearPropsPath)" />
<PropertyGroup Label="Configuration">
<CharacterSet>Unicode</CharacterSet>
<ConfigurationType>StaticLibrary</ConfigurationType>