-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
36 lines (28 loc) · 934 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
cmake_minimum_required(VERSION 2.8.0)
project(pseudoform)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-extras/")
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
find_package(OIS REQUIRED)
find_package(SFML REQUIRED)
find_package(OGRE REQUIRED)
find_package(Bullet REQUIRED)
find_package(MyGUI REQUIRED)
find_package(MyGUI_PLATFORM REQUIRED)
find_package(Boost COMPONENTS filesystem system python date_time REQUIRED)
add_definitions(-Wall)
set(CMAKE_BUILD_TYPE "Debug")
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
include_directories(
"${CMAKE_SOURCE_DIR}/include/"
${Boost_INCLUDE_DIRS}
${SFML_INCLUDE_DIRS}
${OGRE_INCLUDE_DIRS}
${MYGUI_INCLUDE_DIR}
${MYGUI_PLATFORM_INCLUDE_DIR}
${BULLET_INCLUDE_DIRS}
${OIS_INCLUDE_DIRS}
)
add_subdirectory("${CMAKE_SOURCE_DIR}/src/")
add_subdirectory("${CMAKE_SOURCE_DIR}/samples/")