I just wanted to share my steps for building MariaDB 10.0 on Windows (10.0.1 in this case):
cd maria-10.0.1 mkdir bld cd bld cmake .. -G "Visual Studio 10" cmake --build . --config relwithdebinfo --target package
That’s it! The zip file is created right there in bld/.
Hope this helps.