forked from FrictionalGames/PenumbraOverture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
26 lines (18 loc) · 798 Bytes
/
CMakeLists.txt
File metadata and controls
26 lines (18 loc) · 798 Bytes
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
cmake_minimum_required (VERSION 2.6)
project(Overture)
add_subdirectory(../OALWrapper ../OALWrapper)
add_subdirectory(../HPL1Engine ../HPL1Engine)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/include
${CMAKE_CURRENT_SOURCE_DIR}/../HPL1Engine/include
${CMAKE_CURRENT_SOURCE_DIR}/../OALWrapper/include
)
link_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../dependencies/lib/linux)
set(CMAKE_EXECUTABLE_SUFFIX .bin)
file(GLOB all_sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
add_executable(Overture ${all_sources})
set_target_properties(Overture PROPERTIES
INSTALL_RPATH_USE_LINK_PATH false
OUTPUT_NAME overture)
target_link_libraries(Overture HPL OALWrapper Newton angelscript fltk GL GLU Cg CgGL ogg vorbis vorbisfile openal alut SDL SDL_ttf SDL_image)