-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
41 lines (27 loc) · 1013 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
# Copyright (C) 2014 Luke San Antonio
# All rights reserved.
cmake_minimum_required(VERSION 3.0)
project(Tommy_Game VERSION 1.0 LANGUAGES CXX)
set(CMAKE_MODULE_PATH
${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules ${CMAKE_MODULE_PATH})
include(data_target)
include_directories(${CMAKE_SOURCE_DIR}/catch)
include_directories(${CMAKE_SOURCE_DIR}/ponglib)
include_directories(${CMAKE_SOURCE_DIR}/jsoncpp)
find_package(SDL2 REQUIRED)
find_package(SDL2_image REQUIRED)
find_package(SDL2_ttf REQUIRED)
include_directories(${SDL2_INCLUDE_DIRS})
include_directories(${SDL2_IMAGE_INCLUDE_DIRS})
include_directories(${SDL2_TTF_INCLUDE_DIR})
find_package(Boost 1.50.0 REQUIRED COMPONENTS filesystem system)
include_directories(${Boost_INCLUDE_DIRS})
find_package(Freetype REQUIRED)
include_directories(${FREETYPE_INCLUDE_DIRS})
find_package(LibUV)
include_directories(${LIBUV_INCLUDE_DIRS})
add_subdirectory(assets)
add_subdirectory(jsoncpp)
add_subdirectory(ponglib)
add_subdirectory(src)
add_subdirectory(test)