17 lines
701 B
CMake
17 lines
701 B
CMake
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")
|
|
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)
|
|
|
|
add_executable(slumber-quest ${SOURCES})
|