### 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)
### Sources
set(LUGARU_SRCS
+ ${SRCDIR}/main.cpp
${SRCDIR}/Frustum.cpp
${SRCDIR}/Account.cpp
+ ${SRCDIR}/ConsoleCmds.cpp
+ ${SRCDIR}/Dialog.cpp
${SRCDIR}/Game.cpp
${SRCDIR}/GameDraw.cpp
${SRCDIR}/GameInitDispose.cpp
${SRCDIR}/Terrain.cpp
${SRCDIR}/Texture.cpp
${SRCDIR}/Text.cpp
- ${SRCDIR}/TGALoader.cpp
+ ${SRCDIR}/ImageIO.cpp
${SRCDIR}/unpack.c
${SRCDIR}/Weapons.cpp
- ${SRCDIR}/OpenGL_Windows.cpp
${SRCDIR}/openal_wrapper.cpp
${SRCDIR}/Input.cpp
${SRCDIR}/Settings.cpp
${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
${SRCDIR}/Skeleton.h
${SRCDIR}/Skybox.h
${SRCDIR}/Sprite.h
- ${SRCDIR}/TGALoader.h
+ ${SRCDIR}/ImageIO.h
${SRCDIR}/Terrain.h
${SRCDIR}/Texture.h
${SRCDIR}/Text.h
${SRCDIR}/Input.h
${SRCDIR}/binio.h
${SRCDIR}/openal_wrapper.h
+ ${SRCDIR}/optionparser.h
${SRCDIR}/gamegl.h
${SRCDIR}/glstubs.h
${SRCDIR}/private.h
${SRCDIR}/Stereo.h
${SRCDIR}/Animation.h
${SRCDIR}/Sounds.h
+ ${SRCDIR}/Utils/Folders.h
)
if(UNIX)