A base project for OpenGL projects. Based of the learn opengl course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
cmake_minimum_required(VERSION 3.13) |
|
project(OpenGL_template) |
|
|
|
set(CMAKE_CXX_STANDARD 20) |
|
include_directories(include) |
|
add_compile_options(-lglfw3 -lGL -lX11 -lpthread -lXrandr -lXi -ldl) |
|
|
|
add_executable(app main.cpp src/glad.c) |
|
target_link_libraries(app glfw) |