[英]Building Erlang projects on Windows
I'm looking for a way to build an Erlang project on Windows. 我正在寻找一种在Windows上构建Erlang项目的方法。 I have Erlang installed and all project files, including makefile, cloned from GitHub.
我安装了Erlang,并从GitHub克隆了所有项目文件,包括makefile。 I would like to build the project as if I was using make command on Linux and run it.
我想像在Linux上使用make命令一样构建并运行该项目。 What tools can I use to do that?
我可以使用哪些工具来做到这一点?
I'd try cygwin. 我会尝试cygwin。 https://www.cygwin.com
https://www.cygwin.com
http://erlang.org/doc/installation_guide/INSTALL-WIN32.html http://erlang.org/doc/installation_guide/INSTALL-WIN32.html
You can either build erlang with cygwin or use gnu-make in combination with a native windows build of erlang 您可以使用cygwin构建erlang,也可以将gnu-make与erlang的本机Windows构建结合使用
If you're asking "how do I run make
in Windows?" 如果您询问“如何在Windows中运行
make
?” then you can use Cygwin, the newly-available Bash shell, or the MinGW tools. 那么您可以使用Cygwin,新提供的Bash shell或MinGW工具。 These will all give you some level of ability to run
make
, though not every makefile will work. 这些都将为您提供一定程度的运行
make
的能力,尽管并非每个makefile都可以运行。
If you're asking "how can I build an Erlang project using a makefile?" 如果您问“如何使用makefile来构建Erlang项目?” then you are looking for erlang.mk .
那么您正在寻找erlang.mk 。 Note that Rebar3 (which is configured with Erlang terms and looks nothing like a make system) was recently selected as the "official" build tool, but erlang.mk is quite popular and is well-maintained.
请注意,最近选择了Rebar3 (使用Erlang术语进行配置,看上去与make系统类似)被选作“官方”构建工具,但是erlang.mk非常受欢迎并且维护良好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.