Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
389ed4e0
Commit
389ed4e0
authored
Jul 15, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabling FTS in sqlite
parent
bc40aa54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Makefile
Makefile
+5
-2
No files found.
Makefile
View file @
389ed4e0
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
# -DUSE_LUA - embed Lua in Mongoose (+100kb)
# -DUSE_LUA - embed Lua in Mongoose (+100kb)
PROG
=
mongoose
PROG
=
mongoose
CFLAGS
=
-std
=
c99
-O2
-W
-Wall
-pedantic
-pthread
$(COPT)
CFLAGS
=
-std
=
c99
-O2
-W
-Wall
-pedantic
-pthread
# To build with Lua, download and unzip Lua 5.2.1 source code into the
# To build with Lua, download and unzip Lua 5.2.1 source code into the
# mongoose directory, and then add $(LUA_SOURCES) to CFLAGS
# mongoose directory, and then add $(LUA_SOURCES) to CFLAGS
...
@@ -66,7 +66,10 @@ ALL_SOURCES = main.c mongoose.c build/sqlite3.c build/lsqlite3.c \
...
@@ -66,7 +66,10 @@ ALL_SOURCES = main.c mongoose.c build/sqlite3.c build/lsqlite3.c \
ALL_OBJECTS
=
$
(
ALL_SOURCES:%.c
=
%.o
)
ALL_OBJECTS
=
$
(
ALL_SOURCES:%.c
=
%.o
)
ALL_WINOBJS
=
$
(
ALL_SOURCES:%.c
=
%.obj
)
ALL_WINOBJS
=
$
(
ALL_SOURCES:%.c
=
%.obj
)
FLAGS
=
-DNO_SSL_DL
-DUSE_LUA
-DUSE_LUA_SQLITE3
$(YASSL_FLAGS)
$(LUA_FLAGS)
SQLITE_FLAGS
=
-DTHREADSAFE
=
1
-DSQLITE_ENABLE_FTS3
-DSQLITE_ENABLE_FTS3_PARENTHESIS
MONGOOSE_FLAGS
=
-DNO_SSL_DL
-DUSE_LUA
-DUSE_LUA_SQLITE3
$(COPT)
FLAGS
=
$(MONGOOSE_FLAGS)
$(SQLITE_FLAGS)
$(YASSL_FLAGS)
$(LUA_FLAGS)
# Using Visual Studio 6.0. To build Mongoose:
# Using Visual Studio 6.0. To build Mongoose:
# Set MSVC variable below to where VS 6.0 is installed on your system
# Set MSVC variable below to where VS 6.0 is installed on your system
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment