Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rem _CMAKE.bat
- @echo off
- set DEF=-DSDL_STATIC=ON -DSDL_SHARED=OFF
- set DEF=%DEF% -DSDL_3DNOW=OFF
- set DEF=%DEF% -DSDL_ALTIVEC=OFF
- set DEF=%DEF% -DSDL_CCACHE=OFF
- set DEF=%DEF% -DSDL_DISKAUDIO=OFF
- set DEF=%DEF% -DSDL_HIDAPI=OFF
- set DEF=%DEF% -DSDL_HIDAPI_JOYSTICK=OFF
- set DEF=%DEF% -DSDL_LIBUDEV=OFF
- set DEF=%DEF% -DSDL_MMX=OFF
- set DEF=%DEF% -DSDL_OPENGL=OFF
- set DEF=%DEF% -DSDL_OPENGLES=OFF
- set DEF=%DEF% -DSDL_SSE=OFF
- set DEF=%DEF% -DSDL_SSE2=OFF
- set DEF=%DEF% -DSDL_VIRTUAL_JOYSTICK=OFF
- set DEF=%DEF% -DCMAKE_INSTALL_PREFIX="%~dp0install"
- cd build
- rm -r -d ./*
- if not "%ERRORLEVEL%"=="0" goto skip
- @echo on
- cmake ../SDL2-2.28.2 -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles" %DEF%
- :skip
- @echo off
- cd ..
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement