X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=3a87ea641e258cbee9061681b1958f6290022def;hb=e4d3d3f1df59e142d358503b8c41dfb1db4f4231;hp=043b349f076b83b5f2ed57fe68623f71582c6fc6;hpb=14c23210702eee8191dd122f98ef4e43d57295b7;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 043b349..3a87ea6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ set(SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/Source") ### CMake config set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 --std=c++11") -set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-parentheses -g -pg --std=c++11") +set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-parentheses -pedantic -g -pg --std=c++11") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -Wno-parentheses -O2 -std=c++11") if(NOT CMAKE_INSTALL_PREFIX AND WIN32) @@ -36,6 +36,7 @@ set(LUGARU_SRCS ${SRCDIR}/Frustum.cpp ${SRCDIR}/Account.cpp ${SRCDIR}/ConsoleCmds.cpp + ${SRCDIR}/Dialog.cpp ${SRCDIR}/Game.cpp ${SRCDIR}/GameDraw.cpp ${SRCDIR}/GameInitDispose.cpp @@ -65,12 +66,14 @@ set(LUGARU_SRCS ${SRCDIR}/Animation.cpp ${SRCDIR}/Sounds.cpp ${SRCDIR}/Awards.cpp + ${SRCDIR}/Utils/Folders.cpp ) set(LUGARU_H ${SRCDIR}/Frustum.h ${SRCDIR}/Account.h ${SRCDIR}/ConsoleCmds.h + ${SRCDIR}/Dialog.h ${SRCDIR}/Game.h ${SRCDIR}/Lights.h ${SRCDIR}/Menu.h @@ -91,13 +94,14 @@ set(LUGARU_H ${SRCDIR}/Input.h ${SRCDIR}/binio.h ${SRCDIR}/openal_wrapper.h + ${SRCDIR}/optionparser.h ${SRCDIR}/gamegl.h - ${SRCDIR}/glstubs.h ${SRCDIR}/private.h ${SRCDIR}/Settings.h ${SRCDIR}/Stereo.h ${SRCDIR}/Animation.h ${SRCDIR}/Sounds.h + ${SRCDIR}/Utils/Folders.h ) if(UNIX)