Config a shared library in Windows (DLL) and import it.
pkgis a shared library. Build it and install it.mainis an exe. Build it, install it (just copy dependent DLLs) and run it.
The pkg is dependent on fmt. Build them like:
cmake ... -DCMAKE_TOOLCHAIN_FILE=.../vcpkg.cmake -DCMAKE_INSTALL_PREFIX=.../