From e2234b4afebb266878435d10267e7b162b1fe984 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 1 Oct 2022 05:12:50 +0200 Subject: Setup window and GL functions --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ee5ffc5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.23) +project(meowcraft) + +set(CMAKE_CXX_STANDARD 17) + +find_package(OpenGL REQUIRED) +find_package(glfw3 3.3 REQUIRED) +find_package(GLEW REQUIRED) + +add_executable(meowcraft src/main.cpp src/Window.cpp src/Window.hpp) +target_link_libraries(meowcraft glfw OpenGL GLEW::GLEW) -- cgit 1.4.1