create_release.sh: Use Ninja to build the release

This commit is contained in:
David Capello 2014-01-05 22:41:46 -03:00
parent ebc9fa55b1
commit 77d24de34e

View File

@ -43,7 +43,7 @@ if [ ! -d build ] ; then
-D "CMAKE_BUILD_TYPE:STRING=RelWithDebInfo" \ -D "CMAKE_BUILD_TYPE:STRING=RelWithDebInfo" \
-D "CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING = /Zi /MT /O2 /Ob1 /D NDEBUG" \ -D "CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING = /Zi /MT /O2 /Ob1 /D NDEBUG" \
-D "CMAKE_C_FLAGS_RELWITHDEBINFO:STRING = /Zi /MT /O2 /Ob1 /D NDEBUG" \ -D "CMAKE_C_FLAGS_RELWITHDEBINFO:STRING = /Zi /MT /O2 /Ob1 /D NDEBUG" \
-G "NMake Makefiles" \ -G "Ninja" \
.. ..
cd .. cd ..
fi fi
@ -54,7 +54,7 @@ fi
if [ ! -f aseprite.exe ] ; then if [ ! -f aseprite.exe ] ; then
cd build cd build
nmake ninja aseprite
cp src/aseprite.exe .. cp src/aseprite.exe ..
cd .. cd ..
fi fi