備忘のために libmsgpack を題材にして、rpm と windows 用のバイナリを作るスクリプトを残しておく。
Gradle と Visual Studio Express を使う:
setlocal enableDelayedExpansion
call "%MSSdk%"\bin\SetEnv.cmd /Release /x86
cd windows
call gradle clean dist
make と rpmbuild を使う:
cd rpm
make clean build