summaryrefslogtreecommitdiff
path: root/build/vc.common/common.props
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-25 08:24:54 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-25 08:24:54 +0000
commit4ec091a007b6898d648276580bb886fac8544b0e (patch)
tree680b6ce2677ff89343b49a11a80d85513362f6c2 /build/vc.common/common.props
parent1475fa67bc9f42ca830bddee12ae11a958954b15 (diff)
adjustments to the project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13125 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'build/vc.common/common.props')
-rw-r--r--build/vc.common/common.props5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/vc.common/common.props b/build/vc.common/common.props
index 5e8c238c33..ab37200c01 100644
--- a/build/vc.common/common.props
+++ b/build/vc.common/common.props
@@ -21,6 +21,8 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="UserMacros">
+ <CommonLibDir Condition="'$(VisualStudioVersion)' == '10.0'">$(ProjectDir)..\..\bin10\lib</CommonLibDir>
+ <CommonLibDir Condition="'$(VisualStudioVersion)' == '12.0'">$(ProjectDir)..\..\bin12\lib</CommonLibDir>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>$(ProjectName)</RootNamespace>
@@ -57,7 +59,7 @@
</ClCompile>
<Link>
<AdditionalDependencies>comctl32.lib;UxTheme.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin12\lib</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>$(CommonLibDir)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<GenerateMapFile>false</GenerateMapFile>
<SubSystem>Windows</SubSystem>
@@ -98,6 +100,7 @@
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+ <AdditionalOptions Condition="'$(VisualStudioVersion)' == '10.0'">/PDBALTPATH:%_PDB%</AdditionalOptions>
</Link>
</ItemDefinitionGroup>