|
|
@ -32,7 +32,7 @@ package("sqlite3") |
|
|
|
set_kind("$(kind)") |
|
|
|
set_kind("$(kind)") |
|
|
|
add_files("sqlite3.c") |
|
|
|
add_files("sqlite3.c") |
|
|
|
add_headerfiles("sqlite3.h", "sqlite3ext.h") |
|
|
|
add_headerfiles("sqlite3.h", "sqlite3ext.h") |
|
|
|
add_defines("SQLITE_ENABLE_EXPLAIN_COMMENTS", "SQLITE_ENABLE_DBPAGE_VTAB", "SQLITE_ENABLE_STMTVTAB", "SQLITE_ENABLE_DBSTAT_VTAB") |
|
|
|
add_defines("SQLITE_ENABLE_EXPLAIN_COMMENTS", "SQLITE_ENABLE_DBPAGE_VTAB", "SQLITE_ENABLE_STMTVTAB", "SQLITE_ENABLE_DBSTAT_VTAB", "SQLITE_ENABLE_MATH_FUNCTIONS") |
|
|
|
if is_kind("shared") and is_plat("windows") then |
|
|
|
if is_kind("shared") and is_plat("windows") then |
|
|
|
add_defines("SQLITE_API=__declspec(dllexport)") |
|
|
|
add_defines("SQLITE_API=__declspec(dllexport)") |
|
|
|
end |
|
|
|
end |
|
|
|