- Partly implemented client side prediction (still unstable).
[peakengine.git] / CMakeLists.txt
blob37da2e8df4e7302eccc60858d743248269f29708
2 cmake_minimum_required(VERSION 2.6)
4 project(peakengine C CXX)
6 set(SRC
7 engine/src/core/Address.cpp
8 engine/src/core/Buffer.cpp
9 engine/src/core/Color.cpp
10 engine/src/core/Entity.cpp
11 engine/src/core/File.cpp
12 engine/src/core/FileSystem.cpp
13 engine/src/core/Game.cpp
14 engine/src/core/GameEngine.cpp
15 engine/src/core/IniFile.cpp
16 engine/src/core/Keycode.cpp
17 engine/src/core/Logger.cpp
18 engine/src/core/Model.cpp
19 engine/src/core/Object3D.cpp
20 engine/src/core/Quaternion.cpp
21 engine/src/core/SettingsManager.cpp
22 engine/src/core/Util.cpp
23 engine/src/core/Vector2D.cpp
24 engine/src/core/Vector2DI.cpp
25 engine/src/core/Vector3D.cpp
26 engine/src/graphics/GraphicsEngine.cpp
27 engine/src/graphics/SceneNode.cpp
28 engine/src/network/BroadcastClient.cpp
29 engine/src/network/BroadcastHost.cpp
30 engine/src/network/Connection.cpp
31 engine/src/network/NetworkClient.cpp
32 engine/src/network/NetworkHost.cpp
33 engine/src/physics/Body.cpp
34 engine/src/physics/Shape.cpp
35 engine/src/physics/World.cpp
36 test/src/main.cpp
39 set(CMAKE_CXX_FLAGS "-Wall -Wextra -W -Wno-long-long -Wno-unused-parameter -I/usr/local/include/horde3d -I/usr/local/include/bullet -g")
40 include_directories(test/include engine/include)
41 add_executable(peaktest ${SRC})
42 target_link_libraries(peaktest m Horde3D Horde3DUtils enet glfw freeimage BulletSoftBody BulletDynamics BulletCollision LinearMath)