Commit 2074166a authored by reassembler's avatar reassembler
Browse files

Fixes for GCC compilers

parent 2012ea73
......@@ -20,12 +20,17 @@ include_directories(
link_libraries(cannonball
${SDL_LIBRARY}
SDLmain
opengl32 # For OpenGL
glu32 # For OpenGL
dxguid
dinput8
)
set(CMAKE_CXX_FLAGS "-Ofast -static-libgcc -static-libstdc++")
# Use OpenGL for rendering. Disable to use software rendering.
add_definitions(-DWITH_OPENGL)
# Location for Cannonball to create save files
# Used to auto-generate setup.hpp with various file paths
set(xml_directory ./)
......
......@@ -11,6 +11,8 @@
See license.txt for more details.
***************************************************************************/
#include <cstring>
#include "engine/oferrari.hpp"
#include "engine/outils.hpp"
#include "engine/ohud.hpp"
......
#include <iostream>
#include <sstream>
#include <algorithm> // std::reverse
#include "main.hpp"
#include "trackloader.hpp"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment