ferx/CMakeLists.txt

23 lines
561 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.22)
2024-04-25 10:34:29 +00:00
# Declare project
project(ferx)
2024-07-29 15:59:40 +00:00
# Define C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2024-04-25 10:34:29 +00:00
# Define variables of directory paths
set(THIRDPARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty)
2024-04-25 10:34:29 +00:00
# Add thirdparty libraries
add_subdirectory(${THIRDPARTY_DIR}/glad)
add_subdirectory(${THIRDPARTY_DIR}/glfw)
2024-04-25 10:51:17 +00:00
add_subdirectory(${THIRDPARTY_DIR}/glm)
add_subdirectory(${THIRDPARTY_DIR}/imgui)
add_subdirectory(${THIRDPARTY_DIR}/stb)
2024-07-29 15:59:40 +00:00
# Add engine and editor
add_subdirectory(engine)
add_subdirectory(editor)