Project setup
This commit is contained in:
16
CMakeLists.txt
Normal file
16
CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
cmake_minimum_required(VERSION 3.28)
|
||||
project(oatmeal)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
# Include the libary
|
||||
add_subdirectory(oatmeal)
|
||||
|
||||
file(GLOB CMAKE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/cmake/*.cmake")
|
||||
foreach(cmake_file ${CMAKE_FILES})
|
||||
include(${cmake_file})
|
||||
endforeach()
|
||||
|
||||
add_subdirectory(examples/shared)
|
||||
|
||||
add_subdirectory(examples/basicGLFWWindow)
|
||||
add_subdirectory(examples/logging)
|
||||
Reference in New Issue
Block a user