Separate rebar.config for dialyzer/gdb/valgrind

This commit is contained in:
Alexey Romanov
2011-01-13 13:57:28 +03:00
parent 65205c55c3
commit bdf7ee7bae
5 changed files with 49 additions and 9 deletions

View File

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