linux卸载vs codeblocks,哪个适合linux? GNU make vs cmake vs codeblocks vs qmake
In front of me some different Technologies and I'm confused between them. GNU make, CMAKE, Qmake, Code::blocks methodology
在我面前有一些不同的技術(shù),我在它們之間感到困惑。 GNU make,CMAKE,Qmake,Code :: blocks方法
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 ?
1- CMAKE和GNU MAKE有什么區(qū)別?
2- If I'm planning for long term relationship with linux what is the best for that ?
2-如果我計(jì)劃與linux建立長(zhǎng)期合作關(guān)系,那最好的是什么?
3- If I needed to cross-platform some apps, will I need the same technique ?
3-如果我需要跨平臺(tái)某些應(yīng)用程序,我是否需要相同的技術(shù)?
2 個(gè)解決方案
#1
17
CMake generates platform specific make files. So on Linux, it wil generate files for gnu make, on windows it can generate Visual Studio solutions.
CMake生成特定于平臺(tái)的make文件。所以在Linux上,它會(huì)為gnu make生成文件,在Windows上它可以生成Visual Studio解決方案。
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.
還有其他一些很好的選擇,比如scons和waf,它們都是基于Python的,跨平臺(tái)的,并且比GNU Make更加愉快。
#2
3
CMake is a cross-platform wrapper around more traditional build systems. like make for linux and Visual Studio Solutions for windows.
CMake是圍繞更傳統(tǒng)的構(gòu)建系統(tǒng)的跨平臺(tái)包裝器。比如make for linux和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."
“CMake的一個(gè)不錯(cuò)的功能是能夠完成源代碼構(gòu)建。這意味著您可以制作所有.o文件甚至二進(jìn)制可執(zhí)行文件,而不會(huì)使源代碼樹(shù)變得混亂?!?/p>
I found this tutorial very helpful.
我發(fā)現(xiàn)本教程非常有用。
總結(jié)
以上是生活随笔為你收集整理的linux卸载vs codeblocks,哪个适合linux? GNU make vs cmake vs codeblocks vs qmake的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: linux 镜像自动安装,制作能自动安装
- 下一篇: linux查看passwd最后一行,Li