2021-05-08 03:36:26 +02:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
|
|
|
|
project(slumber-quest LANGUAGES CXX)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
|
|
|
|
file(GLOB SOURCES "*.h" "*.cpp" "*/*.h" "*/*.cpp")
|
2021-05-16 01:44:19 +02:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/actors
|
|
|
|
${CMAKE_SOURCE_DIR}/controllers
|
|
|
|
${CMAKE_SOURCE_DIR}/entities
|
|
|
|
${CMAKE_SOURCE_DIR}/policies
|
|
|
|
${CMAKE_SOURCE_DIR}/validators
|
|
|
|
${CMAKE_SOURCE_DIR}/modificators)
|
2021-05-08 03:36:26 +02:00
|
|
|
|
|
|
|
add_executable(slumber-quest ${SOURCES})
|