-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
44 lines (28 loc) · 849 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(wowmapview)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
add_definitions(-DGL_GLEXT_PROTOTYPES)
set(QT_USE_QTXML ON)
set(QT_USE_QTOPENGL ON)
find_package(Qt4 REQUIRED)
include(${QT_USE_FILE})
find_package(QGLViewer REQUIRED)
#include_directories(${QGLVIEWER_INCLUDE_DIR})
find_package(SDL REQUIRED)
find_package(SDL_mixer REQUIRED)
include_directories(${SDL_INCLUDE_DIR} ${SDLMIXER_INCLUDE_DIR})
include_directories(include)
add_subdirectory(dbc)
include_directories(${CMAKE_BINARY_DIR}/dbc)
add_subdirectory(lib)
add_subdirectory(mapview)
add_subdirectory(modelview)
file(COPY
data/enUS
data/shaders
data/ridable.csv
DESTINATION
${CMAKE_BINARY_DIR}
)