Menu

Building a C++ GUI library from source: CMake presets and wiring it into Visual Studio
πŸ“°

Building a C++ GUI library from source: CMake presets and wiring it into Visual Studio

DEV Community: cppΒ·ζ³½Β·about 3 hours ago
#ct1KSNkw
#devtocpp#devto#dev#include#build
Reading 0:00
15s threshold

Zekit is a C++20 desktop GUI toolkit that compiles to a single static library: window, GPU renderer, widget set, layout, text and IME. This post covers the build path β€” from git clone to a Visual Studio project that compiles and links.

It is the least interesting part of the library and, based on the issues I get, the part where most people get stuck.

What the download gives you (and what it doesn't)

The release assets contain the offline documentation and a prebuilt widget gallery. They do not contain a compiled .lib . You build that yourself β€” it's two commands, but you have to run them.

Step 1 β€” clone

git clone https://github.com/Z-ze489/Zekit.git

Enter fullscreen mode

Exit fullscreen mode

About 1,349 files and 8.5 MB, so it finishes in seconds.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.