slumber-quest/CMakeLists.txt

17 lines
701 B
CMake
Raw Normal View History

2021-05-07 21:36:26 -04: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")
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-07 21:36:26 -04:00
add_executable(slumber-quest ${SOURCES})