Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的模块中,我有
-include("blah.hrl").
该.hrl文件不在模块的目录中,而是在我系统的其他位置。rebar编译时如何找到它?有没有办法在中添加包含目录的路径rebar.config?
.hrl
rebar
rebar.config
{erl_opts, [{i, PathToIncludeFile}]}.
在 rebar.config 应该做的事情。或者将 {i, ...} 附加到现有的 erl_opts(如果有)。