哪个适合linux? GNU make、cmake、codeblocks、qmake

发布于 2024-09-30 10:25:28 字数 287 浏览 3 评论 0原文

在我面前有一些不同的技术,我对它们感到困惑。 GNU make、CMAKE、Qmake、Code::blocks 方法

Code::Blocks 使用自定义构建系统,该系统将其信息存储在基于 XML 的项目文件中,但可以选择使用外部 makefile **WIKI 说**

1- 有什么区别CMAKE 和 GNU MAKE 之间?

2- 如果我计划与 Linux 建立长期合作关系,什么是最好的?

3-如果我需要跨平台某些应用程序,我是否需要相同的技术?

In front of me some different Technologies and I'm confused between them.
GNU make, CMAKE, Qmake, Code::blocks methodology

Code::Blocks uses a custom build system, which stores its information in XML-based project files, but can optionally use external makefiles **says WIKI**

1- What's the difference between CMAKE and GNU MAKE ?

2- If I'm planning for long term relationship with linux what is the best for that ?

3- If I needed to cross-platform some apps, will I need the same technique ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一百个冬季 2024-10-07 10:25:28

CMake 生成特定于平台的 make 文件。因此,在 Linux 上,它将生成 gnu make 文件,在 Windows 上,它可以生成 Visual Studio 解决方案。

还有其他一些不错的选择可供考虑,例如 sconswaf,它们都是基于 Python 的、跨平台的,并且比 GNU Make 更容易使用。

CMake generates platform specific make files. So on Linux, it wil generate files for gnu make, on windows it can generate Visual Studio solutions.

There are some other good options to consider like scons and waf, they are both Python based, cross platform, and are much more pleasant to work with than GNU Make.

蓬勃野心 2024-10-07 10:25:28

CMake 是围绕更传统构建系统的跨平台包装器。例如适用于 Linux 的 make 和适用于 Windows 的 Visual Studio 解决方案。

“CMake 的一个很好的功能是能够进行源代码构建。这意味着您可以制作所有 .o 文件,甚至二进制可执行文件,而不会弄乱您的源代码树。”

我发现本教程非常有帮助。

CMake is a cross-platform wrapper around more traditional build systems. like make for linux and Visual Studio Solutions for windows.

"One nice feature of CMake is the ability to do out of source builds. That means you can make all your .o files and even the binary executables without cluttering up your source tree."

I found this tutorial very helpful.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文