RPG/CMakeLists.txt

27 lines
621 B
CMake
Raw Permalink Normal View History

2024-02-22 00:32:57 -08:00
cmake_minimum_required(VERSION 3.27)
project(RPG)
set(CMAKE_CXX_STANDARD 20)
add_executable(RPG src/main.cpp
include/Obj.h
src/Obj.cpp
include/Hash.h
src/Hash.cpp
include/coms/Stats.h
src/coms/Stats.cpp
include/Com.h
src/Com.cpp
include/Ent.h
src/Ent.cpp
include/Vec2.h
src/Vec2.cpp
include/Level.h
src/Level.cpp
include/GameLoop.h
src/GameLoop.cpp
include/levels/Plains.h
src/levels/Plains.cpp)
target_include_directories(RPG PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")