aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/common.init.vcxproj
diff options
context:
space:
mode:
authorAaron Clauson <aaron@sipsorcery.com>2018-08-10 09:19:00 +0200
committerAaron Clauson <aaron@sipsorcery.com>2018-08-10 09:19:00 +0200
commitef7beaea6abcaab389ccb486a8f25bc4512b99ed (patch)
tree86223ae2f6c0eb342bc03bf1b5e77cbeb5ecb0be /build_msvc/common.init.vcxproj
parentf66e1c793eda7a6143fd03400c98512a9b6f00c7 (diff)
downloadbitcoin-ef7beaea6abcaab389ccb486a8f25bc4512b99ed.tar.xz
Visual Studio build configuration for Bitcoin Core
Diffstat (limited to 'build_msvc/common.init.vcxproj')
-rw-r--r--build_msvc/common.init.vcxproj14
1 files changed, 14 insertions, 0 deletions
diff --git a/build_msvc/common.init.vcxproj b/build_msvc/common.init.vcxproj
new file mode 100644
index 0000000000..c3c0f665c2
--- /dev/null
+++ b/build_msvc/common.init.vcxproj
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' and !Exists('$(WindowsSdkDir)\DesignTime\CommonConfiguration\Neutral\Windows.props')">
+ <WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</WindowsTargetPlatformVersion_10>
+ <WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</WindowsTargetPlatformVersion_10>
+ <!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
+ <WindowsTargetPlatformVersion_10 Condition="'$(WindowsTargetPlatformVersion_10)' != '' and !$(WindowsTargetPlatformVersion_10.EndsWith('.0'))">$(WindowsTargetPlatformVersion_10).0</WindowsTargetPlatformVersion_10>
+
+ <WindowsTargetPlatformVersion>$(WindowsTargetPlatformVersion_10)</WindowsTargetPlatformVersion>
+ </PropertyGroup>
+ <PropertyGroup>
+ <Platform Condition="'$(Platform)' == ''">Win32</Platform>
+ </PropertyGroup>
+</Project> \ No newline at end of file