social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

#clion

0 posts0 participants0 posts today

Me looking for example gh action files using cmake
- single file, hello world
- .... nothing ...
- 25000 lines of yaml, 76000 lines of CmakeList.txt for ML libraries

#Clion is easy until you want to deploy to .github/build.yml and you have to convert the build configuration back into code.

I ended up having so many problems getting #CLion to properly recognize a Makefile project (after it had worked for so long with no problems) that I created an Ubuntu VM in VirtualBox and ran CLion from there, without any problems. 🤣

Continued thread

Still the best C++ IDE, but it needs some bug fixing love in order to not be annoying.

Oh, and when I refactor something in my code, there's absolutely no reason to expand the refactoring operation into code I just happen to use, like Boost. It makes refactoring operations usually fail because they end up being "too complex" for CLIon to handle, even in cases where I'm just dragging a file to a new subfolder.

3/3

Continued thread

And now for cpp (pain!) using #clion (nice) and cmake (pain!)

C++ is the COBOL of 2024.
- unpleasant
- still relevant because of legacy code bases
- would be laughed off the stage if introduced today

I couldn't figure out how to run cmake from the terminal. I think I'd have to write a CMakeCache.txt by hand (that finds the toolchain) and not clear it works with git-bash.

github.com/matthewdeanmartin/i

GitHubGitHub - matthewdeanmartin/isopod_cpp: Trivial text adventure game to make a basic cmake build scriptTrivial text adventure game to make a basic cmake build script - matthewdeanmartin/isopod_cpp

It's interesting that Jetbrain's CLion Nova is otherwise an excellent IDE, but it can be just glacially slow at times. For instance when bringing up the "fix stuff" popup for a simple "replace with auto" hover suggestion, it can take up to 10 seconds for the popup to show. Clearly the internal structures are broken and/or totally unoptimised. Cmd-clicking on a method can also lead to "Resolving references" for some seconds.

/cc @jetbrains

#clion#nova#cpp