{erl_opts, [
    debug_info,
    {src_dirs, ["src"]},
    {platform_define, "^(R|1|20|21)", 'USE_OLD_SYS_GET_DEBUG'},
    {platform_define, "^(15|16|17)", 'NEED_TIME_FALLBACKS'},
    {platform_define, "^(18|19|([2-9][0-9]))", 'HAVE_RAND'}
]}.

{cover_enabled, true}.
{cover_export_enabled, true}.

{xref_checks, [undefined_function_calls, undefined_functions, deprecated_function_calls, deprecated_functions]}.

{edoc_opts,
 [{layout, p1_edoc_layout},
  {stylesheet, "style.css"},

%% Settings for ProcessOne docs
  {image, "logo_p1.png"},
  {link, "http://www.process-one.net"}

%% Settings for ejabberd docs
%%  {image, "logo_ejabberd.png"},
%%  {link, "http://www.ejabberd.im"}

%% Settings for Erlang docs
%%  {image, "erlang.png"},
%%  {link, "http://www.erlang.org"}
 ]}.

{profiles, [{test, [{erl_opts, [{src_dirs, ["src", "test"]}]}]}]}.

%% Local Variables:
%% mode: erlang
%% End:
%% vim: set filetype=erlang tabstop=8:
