Loading

Paste #pdhajhnt5

  1. #!/bin/sh
  2. set -e -u -x
  3.  
  4. if test -f CMakeCache.txt
  5. then rm CMakeCache.txt
  6. fi
  7.  
  8. #      -D LUA_INCLUDE_DIR:PATH=/usr/include/luajit-2.0
  9. #      -D LUA_LIBRARY:FILEPATH=/usr/lib64/libluajit-5.1.so
  10. #      -D WITH_LUAJIT:BOOL=ON
  11. cmake -D WITH_MOVIES:BOOL=ON \
  12.       -D SDL_LIBRARY:PATH=/usr/lib64/libSDL2.so \
  13.       -D SDL_INCLUDE_DIR=/usr/include/SDL2 \
  14.       -D CMAKE_BUILD_TYPE=DEBUG \
  15.       -D WITH_LUAJIT:BOOL=OFF \
  16.       -D "CMAKE_C_FLAGS:STRING=-Wall -Wconversion" \
  17.       -D "CMAKE_CXX_FLAGS:STRING=-Wall -Wconversion"\
  18.       -D "CMAKE_C_FLAGS_DEBUG:STRING=-g -Wall -Wconversion" \
  19.       -D "CMAKE_CXX_FLAGS_DEBUG:STRING=-g -Wall -Wconversion" \
  20.       .

Comments