X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=62d5bd97206f5d0ef108b1cf68beb53e2c3ad466;hb=190f9f06c28bf4b7aff2ad0b61e5648ea2b10cc6;hp=4b9fb85b54b4cdd62a53272f808ead5b493568b5;hpb=d177a567280631cd91a677debafada8cef7e0413;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b9fb85..62d5bd9 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") @@ -54,6 +54,7 @@ set(LUGARU_SRCS ${SRCDIR}/Environment/Lights.cpp ${SRCDIR}/Environment/Skybox.cpp ${SRCDIR}/Environment/Terrain.cpp + ${SRCDIR}/Graphic/Decal.cpp ${SRCDIR}/Graphic/Models.cpp ${SRCDIR}/Graphic/Sprite.cpp ${SRCDIR}/Graphic/Stereo.cpp @@ -97,6 +98,7 @@ set(LUGARU_H ${SRCDIR}/Environment/Lights.hpp ${SRCDIR}/Environment/Skybox.hpp ${SRCDIR}/Environment/Terrain.hpp + ${SRCDIR}/Graphic/Decal.hpp ${SRCDIR}/Graphic/gamegl.hpp ${SRCDIR}/Graphic/Models.hpp ${SRCDIR}/Graphic/Sprite.hpp