Cleanup repo

This commit is contained in:
Piotr Krygier committed 2022-06-28 09:54:41 +02:00
commit 4755371ffa
18 files changed
+20826

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.10)
# set the project name
project(RedScarfEngine VERSION 0.1.0)
# specify the C++ standard
set(CMAKE_C++_STANDARD 14)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED True)
if (MSVC)
# warning level 4 and all warnings as errors
add_compile_options(/W4 /WX)
else()
# lots of warnings and all warnings as errors
add_compile_options(-Wall -Wextra -pedantic -Werror)
endif()
add_subdirectory(Graphics)
add_subdirectory(RedScarfEngine)
install(TARGETS RedScarfEngine GraphicsEngine
DESTINATION ${PROJECT_SOURCE_DIR}/bin)