Our great sponsors
-
vcpkg-cmake-integration
Vcpkg autoinstaller for CMake: Fetch Vcpkg (with versioning), bootstrap Vcpkg, install packages from `vcpkg.json`-manifest or individually from within CMake
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
CPM.cmake
📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
Did you define sdl main function? also are you running vcpkg system-wide or do you have pinned version? ( ie. https://github.com/bitmeal/vcpkg-cmake-integration )
You can also use the xmake package manager with CMake if you want.
Yes, i found vcpkg terrible and FetchContent usually works way better. An amazing project is https://github.com/cpm-cmake/CPM.cmake, which automates FetchContent and makes dependencies mostly hassle free.
And then there's also Qt which has plugins. vcpkg Qt5 is nice enough to copy the plugins for you, but not with Qt6. The official answer seems to be "use windeployqt". So I do, and it copies plugins fine. But sqlite doesn't work, despite the plugin sqldrivers/qsqlite.dll being in the right location. Turns out that neither vcpkg or windeployqt copy sqlite3.dll. I switched to static libraries after that, it's a lot slower to link, clang doesn't work for some reason (but clang-cl does) but at least I don't have to worry about DLLs.