- Git clone the repo
- Gitignore
skia
- Update file
// city.cc
// #include <byteswap.h>
#define bswap_32(x) __builtin_bswap32(x)
#define bswap_64(x) __builtin_bswap64(x)
- Install Visual Studio Build Tools
- Install CMake
- Install Ninja (optional?)
- Grab skia, put in ./skia
- Cmake cache edits:
CMAKE_IGNORE_PREFIX_PATH=C:\msys64\
LAF_BACKEND=skia
SKIA_DIR=<path to skia dir you extracted>
\skia
SKIA_LIBRARY_DIR=<path>
\skia\out\Release-x64
SKIA_LIBRARY=<path>
\skia\out\Release-x64\skia.lib
ENABLE_ICONV=FALSE - Build Release
this is neat! thanks.