Find libepoxy without pkg-config (MSVC + vcpkg); Windows build notes
This commit is contained in:
@@ -56,6 +56,12 @@ ninja -C build
|
||||
./build/hd2d_demo
|
||||
```
|
||||
|
||||
Windows: in the MSYS2 **UCRT64** shell,
|
||||
`pacman -S --needed mingw-w64-ucrt-x86_64-{gcc,cmake,ninja,pkgconf,glfw,glm,libepoxy}` and the
|
||||
same `cmake` / `ninja` commands. With Visual Studio, `vcpkg install glfw3 glm libepoxy` and pass
|
||||
`-DCMAKE_TOOLCHAIN_FILE=<vcpkg>/scripts/buildsystems/vcpkg.cmake`. libepoxy is found through
|
||||
pkg-config when present, else by a plain header/library search.
|
||||
|
||||
The asset path is baked in at configure time (`HD2D_ASSET_DIR`), so the demo can
|
||||
be run from any working directory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user