#!/bin/sh set -e -u -x if test -f CMakeCache.txt then rm CMakeCache.txt fi # -D LUA_INCLUDE_DIR:PATH=/usr/include/luajit-2.0 # -D LUA_LIBRARY:FILEPATH=/usr/lib64/libluajit-5.1.so # -D WITH_LUAJIT:BOOL=ON cmake -D WITH_MOVIES:BOOL=ON \ -D SDL_LIBRARY:PATH=/usr/lib64/libSDL2.so \ -D SDL_INCLUDE_DIR=/usr/include/SDL2 \ -D CMAKE_BUILD_TYPE=DEBUG \ -D WITH_LUAJIT:BOOL=OFF \ -D "CMAKE_C_FLAGS:STRING=-Wall -Wconversion" \ -D "CMAKE_CXX_FLAGS:STRING=-Wall -Wconversion"\ -D "CMAKE_C_FLAGS_DEBUG:STRING=-g -Wall -Wconversion" \ -D "CMAKE_CXX_FLAGS_DEBUG:STRING=-g -Wall -Wconversion" \ .