1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Minor style tweaks in the MSVC makefile.

FossilOrigin-Name: 1b43358f8979c4f18519e824e0d5f6ef2250107c
This commit is contained in:
mistachkin
2016-05-03 19:40:54 +00:00
parent 799730bf81
commit 12b35ea980
4 changed files with 25 additions and 20 deletions

View File

@ -198,6 +198,12 @@ DEBUG = 0
OPTIMIZATIONS = 2
!ENDIF
# Set this to non-0 to enable support for the session extension.
#
!IFNDEF SESSION
SESSION = 0
!ENDIF
# Set the source code file to be used by executables and libraries when
# they need the amalgamation.
#
@ -266,12 +272,9 @@ OPT_FEATURE_FLAGS = $(OPT_FEATURE_FLAGS) -DSQLITE_ENABLE_RTREE=1
OPT_FEATURE_FLAGS = $(OPT_FEATURE_FLAGS) -DSQLITE_ENABLE_COLUMN_METADATA=1
!ENDIF
# Enable support for the session extension if the SESSION=1 argument is
# present on the nmake command-line
# Should the session extension be enabled? If so, add compilation options
# to enable it.
#
!IFNDEF SESSION
SESSION = 0
!ENDIF
!IF $(SESSION)!=0
OPT_FEATURE_FLAGS = $(OPT_FEATURE_FLAGS) -DSQLITE_ENABLE_SESSION=1
OPT_FEATURE_FLAGS = $(OPT_FEATURE_FLAGS) -DSQLITE_ENABLE_PREUPDATE_HOOK=1