summaryrefslogtreecommitdiff
path: root/build/vc.common/common.props
diff options
context:
space:
mode:
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>