/ Check-in [20caf80c]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Modify generation of resource header file for MSVC so that it can work from outside the working directory.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 20caf80cb3b65e69a99dbc142db8ee435fb2dbdc
User & Date: mistachkin 2012-09-27 21:03:53
Context
2012-09-28
00:44
Query planner enhancements to be more agressive about optimizing out ORDER BY clauses - in particular the query planner now has the ability to omit ORDER BY clauses that span multiple tables in a join. check-in: 1e874629 user: drh tags: trunk
2012-09-27
21:03
Modify generation of resource header file for MSVC so that it can work from outside the working directory. check-in: 20caf80c user: mistachkin tags: trunk
12:11
Merge the "PRAGMA busy_timeout" change into trunk. check-in: 1a679a1e user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.msc.

   153    153   NLTLIBPATHS = "/LIBPATH:$(NCRTLIBPATH)" "/LIBPATH:$(NSDKLIBPATH)"
   154    154   !ENDIF
   155    155   
   156    156   # C compiler and options for use in building executables that
   157    157   # will run on the target platform.  (BCC and TCC are usually the
   158    158   # same unless your are cross-compiling.)
   159    159   #
   160         -TCC = $(CC) -W3 -DSQLITE_OS_WIN=1 -I. -I$(TOP)\src -fp:precise
   161         -RCC = $(RC) -DSQLITE_OS_WIN=1 -I. -I$(TOP)\src
          160  +TCC = $(CC) -W3 -DSQLITE_OS_WIN=1 -I$(TOP) -I$(TOP)\src -fp:precise
          161  +RCC = $(RC) -DSQLITE_OS_WIN=1 -I$(TOP) -I$(TOP)\src
   162    162   
   163    163   # When compiling the library for use in the WinRT environment,
   164    164   # the following compile-time options must be used as well to
   165    165   # disable use of Win32 APIs that are not available and to enable
   166    166   # use of Win32 APIs that are specific to Windows 8 and/or WinRT.
   167    167   #
   168    168   !IF $(FOR_WINRT)!=0
................................................................................
   817    817   opcodes.lo:	opcodes.c
   818    818   	$(LTCOMPILE) -c opcodes.c
   819    819   
   820    820   # Rule to build the Win32 resources object file.
   821    821   #
   822    822   sqlite3res.lo:	$(TOP)\src\sqlite3.rc $(HDR)
   823    823   	echo #ifndef SQLITE_RESOURCE_VERSION > sqlite3rc.h
   824         -	for /F %%V in ('type VERSION') do ( \
          824  +	for /F %%V in ('type "$(TOP)\VERSION"') do ( \
   825    825   		echo #define SQLITE_RESOURCE_VERSION %%V \
   826    826   			| $(NAWK) "/.*/ { gsub(/[.]/,\",\");print }" >> sqlite3rc.h \
   827    827   	)
   828    828   	echo #endif >> sqlite3rc.h
   829    829   	$(LTRCOMPILE) -fo sqlite3res.lo $(TOP)\src\sqlite3.rc
   830    830   
   831    831   # Rules to build individual *.lo files from files in the src directory.