Simplify building on Windows

Include SQLite3 3.8.6 code to avoid having to
download binaries, remove hard-coded paths,
improve documentation.
This commit is contained in:
Alexey Romanov
2014-10-11 13:29:23 +04:00
parent 99e7a2188a
commit 56468292d5
10 changed files with 161028 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
% -*- mode: erlang -*-
{port_envs, [{"^(?!.*win32)", "DRV_CFLAGS", "$DRV_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes"},
{"^(?!.*win32)", "DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"},
{"win32", "CFLAGS", "/IF:/MyProgramming/sqlite-amalgamation /Ic_src /W4 /wd4100 /wd4204"},
{"win32", "CFLAGS", "/O2 /Isqlite3_amalgamation /Ic_src /W4 /wd4100 /wd4204"},
{"win32", "LDFLAGS", "sqlite3.lib"}]}.
{cover_enabled, true}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.