aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordrh <>2024-08-29 18:32:56 +0000
committerdrh <>2024-08-29 18:32:56 +0000
commit6a18c9e06a770357a74703f56dc26ab445bd7ccd (patch)
tree6d81ab89a4979adfc1ba008e8aeb07d67f6e4ec8 /README.md
parentccd34894e1a9e7895004867c3f3f4d0897b0dc30 (diff)
downloadsqlite-6a18c9e06a770357a74703f56dc26ab445bd7ccd.tar.gz
sqlite-6a18c9e06a770357a74703f56dc26ab445bd7ccd.zip
All makefiles are responsive to OPTIONS=... command-line arguments, and add
the RHS value of OPTIONS= to builds and to lemon and other build steps that might respond to -D or -U options. FossilOrigin-Name: 854b3776ee1fcaa5931e3a0ed104978ca350d218e553586d1c40c2420e1be498
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index ca8f5a7bd..c208f11ea 100644
--- a/README.md
+++ b/README.md
@@ -128,6 +128,13 @@ Almost all makefile targets require a "tclsh" TCL interpreter
version 8.6 or later. The targets marked with "(requires tcl-dev)" also require
the TCL development libraries.
+On "make" command-lines, one can add "OPTIONS=..." to specify additional
+compile-time options over and above those set by ./configure. For example,
+to compile with the SQLITE_OMIT_DEPRECATED compile-time option, one could say:
+
+ ./configure --enable-all
+ make OPTIONS=-DSQLITE_OMIT_DEPRECATED sqlite3
+
The configure script uses autoconf 2.61 and libtool. If the configure
script does not work out for you, there is a generic makefile named
"Makefile.linux-gcc" in the top directory of the source tree that you
@@ -163,6 +170,11 @@ Build using Makefile.msc. Example:
There are many other makefile targets. See comments in Makefile.msc for
details.
+As with the unix Makefile, the OPTIONS=... argument can be passed on the nmake
+command-line to enable new compile-time options. For example:
+
+ nmake /f Makefile.msc OPTIONS=-DSQLITE_OMIT_DEPRECATED sqlite3.exe
+
## Source Tree Map
* **src/** - This directory contains the primary source code for the