哪个适合linux? GNU make vs cmake vs代码块vs qmake [英] which suits linux ? GNU make vs cmake vs codeblocks vs qmake

查看:82
本文介绍了哪个适合linux? GNU make vs cmake vs代码块vs qmake的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

2-如果我打算与linux建立长期合作关系,那是什么最好的选择?

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

解决方案

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

还有其他一些不错的选项可供考虑,例如 scons 解决方案

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.

这篇关于哪个适合linux? GNU make vs cmake vs代码块vs qmake的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆