summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-08-20 21:17:41 +0000
committerRobert Pösel <robyer@seznam.cz>2015-08-20 21:17:41 +0000
commitfef2af8aee7ee759e3123b737ac2e19826ffd6be (patch)
tree0f3ec45b108526fee8c76f66b1f5416aa059d5f5 /build
parent10e432d5d02add6714ed41e11990e55abd131067 (diff)
common.props: Use paths relative to $(ProjectDir)
This fixes "cannot open afxres.h" error when trying to edit dialogs in VS git-svn-id: http://svn.miranda-ng.org/main/trunk@15001 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'build')
-rw-r--r--build/vc.common/common.props8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/vc.common/common.props b/build/vc.common/common.props
index 7b5be63ec3..294831325f 100644
--- a/build/vc.common/common.props
+++ b/build/vc.common/common.props
@@ -23,7 +23,7 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ItemDefinitionGroup>
<ClCompile>
- <AdditionalIncludeDirectories>..\..\include;..\..\plugins\ExternalAPI;..\..\..\boost;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ProjectDir)..\..\include;$(ProjectDir)..\..\plugins\ExternalAPI;$(ProjectDir)..\..\..\boost;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DisableSpecificWarnings>4995;4996;4312;4091;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
@@ -43,7 +43,7 @@
<RandomizedBaseAddress>false</RandomizedBaseAddress>
</Link>
<ResourceCompile>
- <AdditionalIncludeDirectories>..\..\include;..\..\include\msapi</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ProjectDir)..\..\include;$(ProjectDir)..\..\include\msapi</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
@@ -85,7 +85,7 @@
<ClCompile>
</ClCompile>
<Link>
- <AdditionalLibraryDirectories>..\..\..\boost\stage\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>$(ProjectDir)..\..\..\boost\stage\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
@@ -93,7 +93,7 @@
<ClCompile>
</ClCompile>
<Link>
- <AdditionalLibraryDirectories>..\..\..\boost\stage64\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>$(ProjectDir)..\..\..\boost\stage64\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>