]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
More work on Windows 10 SDK integration.
authormistachkin <mistachkin@noemail.net>
Mon, 8 Feb 2016 20:40:57 +0000 (20:40 +0000)
committermistachkin <mistachkin@noemail.net>
Mon, 8 Feb 2016 20:40:57 +0000 (20:40 +0000)
FossilOrigin-Name: 1e563c6ebbb02d2e89760c7a7f95aa69964629c6

1  2 
Makefile.msc
autoconf/Makefile.msc
manifest
manifest.uuid

diff --cc Makefile.msc
index aacacbcec36f64a8298712df8fad480ed97b1fcb,a507825a20ac8934ff783c16b809f82b9d40e40e..8d416b77cb84902f90c7e9dc21930242ae1e3d72
@@@ -267,6 -267,6 +267,15 @@@ EXT_FEATURE_FLAGS 
  ############################### END OF OPTIONS ################################
  ###############################################################################
  
++# When compiling for the Windows 10 platform, the PLATFORM macro must be set
++# to an appropriate value (e.g. x86, x64, arm, arm64, etc).
++#
++!IF $(FOR_WIN10)!=0
++!IFNDEF PLATFORM
++!ERROR Using the FOR_WIN10 option requires a value for PLATFORM.
++!ENDIF
++!ENDIF
++
  # This assumes that MSVC is always installed in 32-bit Program Files directory
  # and sets the variable for use in locating other 32-bit installs accordingly.
  #
@@@ -888,7 -898,8 +907,8 @@@ LTLINKOPTS = $(LTLINKOPTS) WindowsPhone
  LTLINKOPTS = $(LTLINKOPTS) /NODEFAULTLIB:kernel32.lib /NODEFAULTLIB:ole32.lib
  !ENDIF
  
- # When compiling for UAP, some extra linker options are also required.
 -# When compiling for UAP or the Windows 10 platform, some extra
 -# linker options are also required.
++# When compiling for UAP or the Windows 10 platform, some extra linker
++# options are also required.
  #
  !IF $(FOR_UAP)!=0 || $(FOR_WIN10)!=0
  LTLINKOPTS = $(LTLINKOPTS) /DYNAMICBASE /NODEFAULTLIB:kernel32.lib
index 598e6517ae096a75fa09ce7aa7b1c764b450de59,598e6517ae096a75fa09ce7aa7b1c764b450de59..a4f916f5a75b9cc1c4cb3bb878a440a088c7752e
@@@ -252,6 -252,6 +252,15 @@@ EXT_FEATURE_FLAGS 
  ############################### END OF OPTIONS ################################
  ###############################################################################
  
++# When compiling for the Windows 10 platform, the PLATFORM macro must be set
++# to an appropriate value (e.g. x86, x64, arm, arm64, etc).
++#
++!IF $(FOR_WIN10)!=0
++!IFNDEF PLATFORM
++!ERROR Using the FOR_WIN10 option requires a value for PLATFORM.
++!ENDIF
++!ENDIF
++
  # This assumes that MSVC is always installed in 32-bit Program Files directory
  # and sets the variable for use in locating other 32-bit installs accordingly.
  #
@@@ -341,6 -341,6 +350,16 @@@ NSDKLIBPATH = $(WINDOWSSDKDIR)\li
  
  NSDKLIBPATH = $(NSDKLIBPATH:\\=\)
  
++# Check for the UCRT library path macro.  Othertise, this value will
++# default to the version-specific, platform-specific 'lib' directory
++# underneath the Windows SDK installation directory.
++#
++!IFNDEF UCRTLIBPATH
++UCRTLIBPATH = $(WINDOWSSDKDIR)\lib\$(WINDOWSSDKLIBVERSION)\ucrt\$(PLATFORM)
++!ENDIF
++
++UCRTLIBPATH = $(UCRTLIBPATH:\\=\)
++
  # C compiler and options for use in building executables that
  # will run on the platform that is doing the build.
  #
@@@ -526,7 -526,7 +545,7 @@@ BCC = $(BCC) /guard:cf -D_ARM_WINAPI_PA
  # USE_CRT_DLL option is set to force dynamically linking to the
  # MSVC runtime library.
  #
--!IF $(FOR_WINRT)!=0 || $(FOR_WIN10)!=0 || $(USE_CRT_DLL)!=0
++!IF $(FOR_WINRT)!=0 || $(USE_CRT_DLL)!=0
  !IF $(DEBUG)>1
  TCC = $(TCC) -MDd
  BCC = $(BCC) -MDd
@@@ -783,7 -783,7 +802,8 @@@ LTLINKOPTS = $(LTLINKOPTS) WindowsPhone
  LTLINKOPTS = $(LTLINKOPTS) /NODEFAULTLIB:kernel32.lib /NODEFAULTLIB:ole32.lib
  !ENDIF
  
--# When compiling for UAP, some extra linker options are also required.
++# When compiling for UAP or the Windows 10 platform, some extra linker
++# options are also required.
  #
  !IF $(FOR_UAP)!=0 || $(FOR_WIN10)!=0
  LTLINKOPTS = $(LTLINKOPTS) /DYNAMICBASE /NODEFAULTLIB:kernel32.lib
@@@ -793,6 -793,6 +813,15 @@@ LTLINKOPTS = $(LTLINKOPTS) "/LIBPATH:$(
  !ENDIF
  !ENDIF
  
++!IF $(FOR_WIN10)!=0
++LTLINKOPTS = $(LTLINKOPTS) "/LIBPATH:$(UCRTLIBPATH)"
++!IF $(DEBUG)>1
++LTLINKOPTS = $(LTLINKOPTS) /NODEFAULTLIB:libucrtd.lib /DEFAULTLIB:ucrtd.lib
++!ELSE
++LTLINKOPTS = $(LTLINKOPTS) /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib
++!ENDIF
++!ENDIF
++
  # If either debugging or symbols are enabled, enable PDBs.
  #
  !IF $(DEBUG)>1 || $(SYMBOLS)!=0
diff --cc manifest
index ebec0dd69bfc2a3313a784db5498621af8b0cbce,c8a0a95df09946072a3fc9c900e8e3cccc4a07c6..24eebb58a9e08d2c863d726b60e50ee4c2485e93
+++ b/manifest
@@@ -1,8 -1,8 +1,8 @@@
- C Fix\sa\ssigned/unsigned\scomparison\swarning\sin\sfts5.
- D 2016-02-08T20:14:41.915
+ C More\swork\son\sWindows\s10\sSDK\sintegration.
 -D 2016-02-05T19:40:23.877
 -F Makefile.in 027c1603f255390c43a426671055a31c0a65fdb4
++D 2016-02-08T20:40:57.726
 +F Makefile.in dac2776c84e0d533b158a9af6e57e05c4a6b19f3
  F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
- F Makefile.msc fcf377286d910b47e072da1ac7945976337c0925
 -F Makefile.msc 9eadde083c1ef0d0d2a253671c76e0b7e48a3dc6
++F Makefile.msc 8514a6d7c15fa179b45da902a4ddcf0a8e6748b2
  F README.md 8ecc12493ff9f820cdea6520a9016001cb2e59b7
  F VERSION 866588d1edf0ccb5b0d33896974338f97564f719
  F aclocal.m4 a5c22d164aff7ed549d53a90fa56d56955281f50
@@@ -11,7 -11,7 +11,7 @@@ F art/sqlite370.ico af56c1d00fee7cd4753
  F art/sqlite370.jpg d512473dae7e378a67e28ff96a34da7cb331def2
  F autoconf/INSTALL 83e4a25da9fd053c7b3665eaaaf7919707915903
  F autoconf/Makefile.am 1c1657650775960804945dc392e14d9e43c5ed84
--F autoconf/Makefile.msc 2ce3b1565a52d7083a1dbf57a1706fd14cc1ee0c
++F autoconf/Makefile.msc de6d40e0c495d761b9813ccb20a649841f6d6b72
  F autoconf/README.first 6c4f34fe115ff55d4e8dbfa3cecf04a0188292f7
  F autoconf/README.txt e9757a381e5ce2553dbaa6247bb8ad00eb8d87aa
  F autoconf/configure.ac 72a5e42beb090b32bca580285dc0ab3c4670adb8
@@@ -1427,7 -1426,10 +1427,8 @@@ F tool/vdbe_profile.tcl 246d0da094856d7
  F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
  F tool/warnings.sh 48bd54594752d5be3337f12c72f28d2080cb630b
  F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
- P 6926f28cd56bf61f7c92877baa54024bee7cbab5
- R a71ae48fc3eb916c5bf5cda4edac941f
- U dan
- Z 4a750b37db683e6936f9a933a2b590b6
 -P ca91bd8ac70a5b3fef127364f73ec675e58bb92c
 -R 1ddcbe680d5a6ea9a1dc01ec422c820c
 -T *branch * win10sdk
 -T *sym-win10sdk *
 -T -sym-trunk *
++P 85eb05ddbc3a7cff986af13c3dab6c0063e62171 ebace2c99b6af9230c4bbc31a764c7f397200148
++R 7f11f3c1dcb5601b2c82dcb73372e020
++T +closed ebace2c99b6af9230c4bbc31a764c7f397200148
+ U mistachkin
 -Z 9a5014635472c911640e985821bf4dea
++Z ac6553c79aaf86d7e04ebeafa308be17
diff --cc manifest.uuid
index 3aba9ebffc6ce75fc1f5deb3d247b598d1dc6613,bf7c81653a705610c45b58684166d2bad2479f35..583f181cdb766dc94b72b356613b42195d82ce9b
@@@ -1,1 -1,1 +1,1 @@@
- 85eb05ddbc3a7cff986af13c3dab6c0063e62171
 -ebace2c99b6af9230c4bbc31a764c7f397200148
++1e563c6ebbb02d2e89760c7a7f95aa69964629c6