mirror of
https://github.com/ScrelliCopter/Lesson10-SDL3.git
synced 2025-02-21 07:19:26 +11:00
port
This commit is contained in:
11
CMakeLists.txt
Normal file
11
CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION "3.5" FATAL_ERROR)
|
||||
project(Lesson10 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 98)
|
||||
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(OpenGL REQUIRED)
|
||||
|
||||
add_executable(Lesson10 Lesson10.cpp)
|
||||
target_link_libraries(Lesson10 SDL2::SDL2 OpenGL::GL)
|
||||
target_compile_options(Lesson10 PRIVATE -Wall -Wextra -pedantic)
|
||||
Reference in New Issue
Block a user