X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=4b6094c8408953d64902a3062a8c0a171e4462e6;hb=31d30780ae8b49ab026779e6a1e4987724698eb1;hp=1c55e5798acd19bf4242b055d7136b49f2802a4c;hpb=05953b2ecc93d5f0eb2e954bfa891063699cb439;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c55e57..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 )