(!IMPORTANT; glog supplied with msys2/mingw64 is bugged, will give access violation error in wrapper)
glog
./autogen.sh
cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX -WIN32=TRUE -DBUILD_SHARED_LIBS=True
make
install
manually copy file 'libglog.pc' into \msys64\mingw64\lib\pkgconfig if missing
googletest
cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX
make
install
libxayagame
as we compiled json-rpc-cpp without stubgen, we need to manually copy files into rpc-stub generated elsewhere
also, autoconf_archive is likely needed to resolve CXX_14 macro
Changes needed for cross-compile to windows. Compiling done with MSYS2/MINGw64
Not all libraries are present, here is the list that needs to be build manually (at least for the time this commit is being made)
jsoncpp cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX -DJSONCPP_WITH_TESTS=Off -DJSONCPP_WITH_POST_BUILD_UNITTEST=Off -DBUILD_SHARED_LIBS=ON
argtabel2 cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX make install
json-rpc-cpp cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX -DREDIS_SERVER=NO -DREDIS_CLIENT=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO -DCOMPILE_TESTS=NO -DBUILD_STATIC_LIBS=YES -DHUNTER_ENABLED=YES make install
(!IMPORTANT; glog supplied with msys2/mingw64 is bugged, will give access violation error in wrapper) glog ./autogen.sh cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX -WIN32=TRUE -DBUILD_SHARED_LIBS=True make install
http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-glog-0.3.5-1-any.pkg.tar.xz
manually copy file 'libglog.pc' into \msys64\mingw64\lib\pkgconfig if missing
googletest cmake . -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX make install
libxayagame as we compiled json-rpc-cpp without stubgen, we need to manually copy files into rpc-stub generated elsewhere also, autoconf_archive is likely needed to resolve CXX_14 macro