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:
authorAlex Marsev <alex.marsev@gmail.com>2015-07-18 10:12:29 +0300
committerAlex Marsev <alex.marsev@gmail.com>2015-07-19 11:44:30 +0300
commitf4604ec0a744c17e6e001069a17157028a56fc85 (patch)
treef7e1be3bab78ffddaabd6e57680725153c60e943 /sanear.vcxproj
parentd327a1aab0c091d6a271befe7515deed6e5cbe38 (diff)
Search for props file in multiple places
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>