- 主题:cmake很是激进
CMake 5.0: One Tool to Build Them All
by Kyle Edwards
The Kitware Blog / 2021-04-01 21:4484
We are always looking for ways to make CMake easier to use, and the next version will include big changes that greatly improve its usability. We are so confident in this overhaul that we are skipping version 4.0 and going straight to CMake 5.0. It’s safe to say this new version is nothing short of revolutionary!
Supporting many different compilers has always been a major challenge, and CMake 5.0 will remedy this situation. Starting with 5.0, we will embed LLVM directly into CMake, and CMake will do all the compilation of your code. Because of this, we will drop support for using external compilers so that we can focus on our internal LLVM support. No more GCC, no more Visual Studio. Having to only support one compiler will greatly simplify development for CMake users.
Cross-compiling for other CPU architectures just got much simpler as well. Starting with CMake 5.0, the new built-in LLVM compiler will always compile for x86, but the built executables will include QEMU emulators for every architecture, making it easier than ever to run your code on non-x86 architectures. Write once, run anywhere.
We are even simplifying the process of building for multiple operating systems. Starting with 5.0, CMake will only support Linux projects, and ship a copy of Docker and the Linux kernel with every executable, making it very easy to run your code on Windows and macOS without rebuilding it. Never again will your users or developers have to complain about the lack of support for their favorite OS.
--
FROM 39.183.8.*
太激进了吧,有没有兼容性问题,不怕都跑了吗。。
【 在 PGP 的大作中提到: 】
: CMake 5.0: One Tool to Build Them All
:
: by Kyle Edwards
: ...................
--
FROM 106.121.6.*
没看到愚人节?
--
FROM 125.35.125.*
4月1日特稿?
【 在 GoGoRoger (GoGoRoger) 的大作中提到: 】
: 太激进了吧,有没有兼容性问题,不怕都跑了吗。。
--
FROM 58.23.244.*
第三行,看日期。。。
【 在 PGP (---) 的大作中提到: 】
: CMake 5.0: One Tool to Build Them All
: by Kyle Edwards
: The Kitware Blog / 2021-04-01 21:4484
: ...................
--
FROM 101.84.48.*
哈哈楼上都发现了。
【 在 javaboy (喝了咖啡就话多-_-;) 的大作中提到: 】
: 第三行,看日期。。。
--
FROM 101.84.48.*
玩笑归玩笑,我不是专业选手,觉得makefile既方便又实用,干嘛非得整那么多幺蛾子,cmake有些人写得宏套宏,简直就是人为制造障碍。
【 在 PGP 的大作中提到: 】
: CMake 5.0: One Tool to Build Them All
: by Kyle Edwards
: The Kitware Blog / 2021-04-01 21:4484
: ...................
--
FROM 223.104.39.*
注意日期
【 在 GoGoRoger 的大作中提到: 】
: 太激进了吧,有没有兼容性问题,不怕都跑了吗。。
--
FROM 27.91.71.*
makefile没有兼容性啊
库的位置一变就抓瞎,写跨平台C++,现在标配是cmake+conan
【 在 toutouqi 的大作中提到: 】
: 玩笑归玩笑,我不是专业选手,觉得makefile既方便又实用,干嘛非得整那么多幺蛾子,cmake有些人写得宏套宏,简直就是人为制造障碍。
--
FROM 27.91.71.*
因为makefile不支持visual studio
【 在 toutouqi 的大作中提到: 】
: 玩笑归玩笑,我不是专业选手,觉得makefile既方便又实用,干嘛非得整那么多幺蛾子,cmake有些人写得宏套宏,简直就是人为制造障碍。
: 【 在 PGP 的大作中提到: 】
: : CMake 5.0: One Tool to Build Them All
: ....................
--
FROM 218.72.31.*