wxWidgets is way easier to incorporate in your C++ project once your project is CMake based just like wxWidgets is.

especially so if it's multi-platform. it's simple enough to install a library and development headers on Linux or macOS, but what does that even mean on Windows?

i used to see a project with CMakeLists.txt files and go "all right, so it's black magic"

it's more high-level in reality though. instead of passing linker flags, you're telling CMake to use your compiler toolchain to do stuff like "include everything needed for library X and enable these compile flags for it"

Follow

@lore Its still black magic, you just became the magician :)

@freemo it's a small miracle that it works, really. after creating a CMake file, i could send a project to my Windows-using friend, with Git submodules for dependencies, and it just built.

@lore Frankly I find it amazing that C and C++ in general are as portable as they are.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.