-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
43 lines (35 loc) · 921 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
# This file is part of the
# ______ _
# | ___ \ | |
# | |_/ /___| |_ _ __ ___ _ __ _____ __
# | // _ \ __| '__/ _ \| '_ \ / _ \ \ /\ / /
# | |\ \ __/ |_| | | (_) | | | | __/\ V V /
# \_| \_\___|\__|_| \___/|_| |_|\___| \_/\_/
#
# project
#
# https://github.com/jacmoe/retronew
#
# (c) 2020 - 2022 Jacob Moena
#
# MIT License
#
cmake_minimum_required(VERSION 3.7)
project(retronew)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
find_package(Allegro5 REQUIRED)
set(3RD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty)
set(SPDLOG_INCLUDE_DIR ${3RD_PARTY_DIR}/spdlog/include)
include_directories(
${ALLEGRO_INCLUDE_DIR}
${3RD_PARTY_DIR}
${SPDLOG_INCLUDE_DIR}
./common
)
add_subdirectory(1pal)
add_subdirectory(2maze)
add_subdirectory(3move)
add_subdirectory(4rays)
add_subdirectory(5raytex)
add_subdirectory(6raylit)