X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=4b6094c8408953d64902a3062a8c0a171e4462e6;hb=a8d3adab262e66f609fa9b0a18d47cf27a0e65f0;hp=0feb4b9cc98130dc2986e9b1596457988d1a2e2b;hpb=d46a3cd0802e4a694165ef2da46d9e25558178ab;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 0feb4b9..4b6094c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ if(NOT CMAKE_BUILD_TYPE) endif(NOT CMAKE_BUILD_TYPE) message("CMake build type: ${CMAKE_BUILD_TYPE}") -set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses -pedantic --std=c++11 ${CMAKE_CXX_FLAGS}") +set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-parentheses -pedantic --std=gnu++11 ${CMAKE_CXX_FLAGS}") if(APPLE) set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX") @@ -66,7 +66,7 @@ set(LUGARU_SRCS ${SRCDIR}/Math/Frustum.cpp ${SRCDIR}/Math/Quaternions.cpp ${SRCDIR}/Menu/Menu.cpp - ${SRCDIR}/Objects/Objects.cpp + ${SRCDIR}/Objects/Object.cpp ${SRCDIR}/Objects/Person.cpp ${SRCDIR}/Objects/Weapons.cpp ${SRCDIR}/User/Account.cpp @@ -82,6 +82,7 @@ set(LUGARU_SRCS ${SRCDIR}/GameInitDispose.cpp ${SRCDIR}/GameTick.cpp ${SRCDIR}/Globals.cpp + ${SRCDIR}/Tutorial.cpp ) @@ -110,7 +111,7 @@ set(LUGARU_H ${SRCDIR}/Math/Quaternions.hpp ${SRCDIR}/Math/Random.hpp ${SRCDIR}/Menu/Menu.hpp - ${SRCDIR}/Objects/Objects.hpp + ${SRCDIR}/Objects/Object.hpp ${SRCDIR}/Objects/Person.hpp ${SRCDIR}/Objects/Weapons.hpp ${SRCDIR}/Thirdparty/optionparser.h @@ -122,6 +123,7 @@ set(LUGARU_H ${SRCDIR}/Utils/Input.hpp ${SRCDIR}/Utils/private.h ${SRCDIR}/Game.hpp + ${SRCDIR}/Tutorial.hpp ) @@ -236,7 +238,7 @@ endif(LINUX) if(APPLE) set(LUGARU_APP_ROOT ${CMAKE_INSTALL_PREFIX}/Lugaru.app) set(LUGARU_BINDIR ${LUGARU_APP_ROOT}/Contents/MacOS) - set(LUGARU_RESDIR ${LUGARU_APP_ROOT}/Resources) + set(LUGARU_RESDIR ${LUGARU_APP_ROOT}/Contents/Resources) endif(APPLE) # Actual installation instructions