diff options
| author | Mel <einebeere@gmail.com> | 2022-10-01 05:12:50 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-01 05:13:05 +0200 |
| commit | e2234b4afebb266878435d10267e7b162b1fe984 (patch) | |
| tree | a582ab01a9a95a3dfd199702315d3f43c6b5b046 /CMakeLists.txt | |
| download | meowcraft-e2234b4afebb266878435d10267e7b162b1fe984.tar.zst meowcraft-e2234b4afebb266878435d10267e7b162b1fe984.zip | |
Setup window and GL functions
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
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) |
