Changed project back to C++

This commit is contained in:
Piotr Krygier committed 2022-10-05 15:51:19 +02:00
1 parent ce0c399810
commit e7b9d4a32f
15 files changed
+1181 -412

No files matched your search

-23
View File
@@ -1,23 +0,0 @@
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)