#cmake locked up my computer so hard it took about 30 seconds to open an SSH session from across the room. But when I did that GNOME very briefly flashed to life before freezing again, so there's that, which is nice.
... is there a flag for "leave me just 10% of 1 CPU, that's all I ask"?
@hanadusikova I disagree. Those #CMake files are amazing. I learn a lot today.
The #CMake build is, to put it plainly, Ginormous. 14073 source lines for a BUILD SYSTEM?
Hitting the next roadblock in my #FreeBSD #Linuxulator "userland from source" project: #Linux #Python is causing trouble. I got it to build and package, but runtime parts are wrong, *somehow* the "/compat/linux" prefix "sneaks in" 😞 (still didn't understand how exactly...).
You might ask why port python at all, and indeed, I didn't plan to do so initially.
The issue is build systems. With the goal to port shared libraries that might be needed by (closed-source) Linux binaries, not all of them use plain #make (or #GNU #autotools) for building.
#cmake is popular, so I'll need it. To build it using shared libraries itself, one of its prerequisites needs #meson, which, in turn, requires python. 🤯
Ahh, welcome to dependency hell 😜
#freebsd #linuxulator #linux #python #make #gnu #autotools #cmake #meson
@Chris_272 Wir haben vor ca. 2 Jahren auf #cmake und #CLion umgestellt und sind begeistert.
Ich will es nicht mehr missen.
It has been years since I last worked with #CMake. And the project, especially the documentation, has matured quite a bit. I am pleasantly surprised.
Learn all about #porting Qt applications from Qt5 to #Qt6 from Nicolas Fella during the KDAB Training Day on 27th Nov. Get familiarised with comparing the available modules in Qt5 & Qt6, discussing the strategy & estimation of a port & more. #qtdev #CMake #qml
#porting #qt6 #qtdev #cmake #qml
The upgrade to #VisualStudio 2022 has killed my #Android #NDK debugging environment.
They removed the NativeActivity template that did a great job since VS2017.
Now I'm struggling with #CMake to generate a new solution for debugging inside android emulator. Codes compile but packaging fails.
Phones are terrible platforms!
The one and only exception is #PinePhone, because I can compile code on it directly and run a debugger with SSH.
That is the right way to do it.
No *-Studio required.
#visualstudio #android #ndk #cmake #pinephone
I give up with my #cpp bot. In just a few days I discovered a compiler bug, learned that some of the #cpp20 features are still not supported by compilers and #CMake, that Boost.#Asio is a primitive mess that's impossible to mix with other async libraries or customize unless you have a PhD, and #Boost itself is barely supported by CMake. Time to write in #Python, the programmer's equivalent of walking around town in Crocs but a man's gotta do what a man's gotta do
#cpp #cpp20 #cmake #asio #boost #python
#cpp #cppfront #cppfront2 #cmake
I encountered a problem with vscode not respecting the breakpoints in the files generated by the cpp2 tool. However, this seems to be a vscode issue, not a cpp2 issue, as reported here: [https://github.com/modern-cmake/cppfront/issues/93]. I couldn’t find a solution, so maybe someone else has an idea how to fix it.
By the way, I agree that cppfront with cmake is an excellent way to start using modules and modern C++20 features.
(for experimental use only)
#Cpp #cppfront #cppfront2 #cmake
I have a concept in Wilco called "features", which is an abstraction of compiler flags basically. So for example:
project.features += feature::FastMath;
would add "/fp:fast" for msvc and "-ffast-math" for GCC/clang.
But... I'm thinking about ditching this and relying on setting flags directly.
There are so many nuances in flags and differences between compilers, I'm not sure it makes sense to try to abstract it.
#cpp #cplusplus #cmake #programming #softwareengineering
Our open-source CMake Debugger is now available in VS Code! 🎉
Check out the latest version of the CMake Tools extension and give it a try.
Learn more at:
https://devblogs.microsoft.com/cppblog/introducing-cmake-debugger-in-vs-code-debug-your-cmake-scripts-using-open-source-cmake-debugger/
#cpp #cplusplus #cmake #vscode
#cpp #cplusplus #cmake #vscode
@simontoth @ami @rnd What’s a “modern” build system? Could you clarify/give some examples? Also, IMHO build tool is more appropriate term for naming a tool like #cmake …I don’t know why people keep calling such a build system though
My #CMake #HotTake:
CMake is the perfect build system for C++, It is modern, easy and can be very powerful if you know how to use it properly.
But people keep using it like they did in the dark ages and the teaching materials are mostly outdated so the reputation is terrible.
@rnd
#Cpp
Windows progress 🙂 #cpp #cplusplus #opensource #nsis #cmake #windows #programming
#cpp #cplusplus #opensource #nsis #cmake #windows #programming