Sometimes I dream that someone with a lot of time will go through all the most important libraries and add CMake builds or improve them... Because now it's all over the place in terms of quality and this needs to change.
CMake knowledge is all over the place too. You see people who are still using "include_directories" and not "target_include_directories".
People who still stick to prehistoric versions of CMake for some reason...
But if CMake is good, it helps EVERYONE, especially the beginners.
SFML's CMake was bad... And then someone (Ceylo is their Github nickname) fixed it and it became like 100x times much easier to make things with SFML for everyone.
Just look at the "Getting Started" section here: sfml-dev.org/tutorials/2.5/…
This is how it used to be. I remember spending HOURS trying to follow all the steps and failing.
With CMake it's just:
find_package(SFML REQUIRED)
target_link_library(your_exe PRIVATE <sfml-stuff>)
• • •
Missing some Tweet in this thread? You can try to
force a refresh