NetBeans 使用什么默认的 make 工具
What default make tool does NetBeans use
我一直在 Linux 上用 NetBeans 8 编写一个小的 c 程序。它使用这个configuration.xml文件一起编译Makefile。我进行了一些搜索,但几乎没有关于什么工具支持此文件或者它是否是 NetBeans 内部工具的信息。我如何从命令行等调用它
我希望它是一些替代构建工具,但到目前为止它还没有 scons、waf、ninja、cmake、qmake
有没有人有这方面的经验?
看起来如何:
<configurationDescriptor version="95">
<logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
<logicalFolder name="HeaderFiles" ...>
What default make tool does NetBeans use
它默认使用 make
。默认 C/C++ 项目类型会为您生成 Makefile。您也可以改用自定义 Makefile - 甚至其他构建工具(如 CMake、QMake 等)。
I'v searched a little but there is little information on what tool supports this file or if it is a NetBeans internal tool.
configurations.xml 仅供 NetBeans 内部使用。
顺便说一句。只修改这个文件,如果你确定你在做什么 - 它有能力破坏你的项目!
How could i call it from the command line etc.
你是说 configurations.xml?如果是这样;你不能。如上所述,它仅供 NB 内部使用。但是,这不是必需的。 Netbeans 将为您提供所需的所有 Makefile。这些可以使用 make
通常的方式构建。
Does anyone have experience with it?
如果生成的 Makefile 不能满足您的目的,您可以对其进行自定义(检查文件中的注释)- 或编写一个自定义文件并从中创建一个项目。
正如 Hekto、CMake is an alternative build tool that works great with NetBeans 评论的那样。它也广泛用于 C/C++ 项目并且有很多好处。此外,其他 IDE(如 Eclipse 或 VisualStudio)可以轻松使用基于 CMake 的项目 - 如果全部失败,只需从终端调用它 ;-)。
我一直在 Linux 上用 NetBeans 8 编写一个小的 c 程序。它使用这个configuration.xml文件一起编译Makefile。我进行了一些搜索,但几乎没有关于什么工具支持此文件或者它是否是 NetBeans 内部工具的信息。我如何从命令行等调用它
我希望它是一些替代构建工具,但到目前为止它还没有 scons、waf、ninja、cmake、qmake
有没有人有这方面的经验?
看起来如何:
<configurationDescriptor version="95">
<logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT">
<logicalFolder name="HeaderFiles" ...>
What default make tool does NetBeans use
它默认使用 make
。默认 C/C++ 项目类型会为您生成 Makefile。您也可以改用自定义 Makefile - 甚至其他构建工具(如 CMake、QMake 等)。
I'v searched a little but there is little information on what tool supports this file or if it is a NetBeans internal tool.
configurations.xml 仅供 NetBeans 内部使用。
顺便说一句。只修改这个文件,如果你确定你在做什么 - 它有能力破坏你的项目!
How could i call it from the command line etc.
你是说 configurations.xml?如果是这样;你不能。如上所述,它仅供 NB 内部使用。但是,这不是必需的。 Netbeans 将为您提供所需的所有 Makefile。这些可以使用 make
通常的方式构建。
Does anyone have experience with it?
如果生成的 Makefile 不能满足您的目的,您可以对其进行自定义(检查文件中的注释)- 或编写一个自定义文件并从中创建一个项目。
正如 Hekto、CMake is an alternative build tool that works great with NetBeans 评论的那样。它也广泛用于 C/C++ 项目并且有很多好处。此外,其他 IDE(如 Eclipse 或 VisualStudio)可以轻松使用基于 CMake 的项目 - 如果全部失败,只需从终端调用它 ;-)。