ScrapExplorer - CMakeLists.txt

Home / lab / opengl Lines: 1 | Size: 394 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1cmake_minimum_required(VERSION 3.10) 2project(OpenGLHelloWorld) 3 4set(CMAKE_CXX_STANDARD 17) 5 6add_subdirectory( 7 ${CMAKE_SOURCE_DIR}/../../ext/glfw 8 ${CMAKE_BINARY_DIR}/glfw_build 9) 10 11include_directories(${CMAKE_SOURCE_DIR}/../../ext/glfw/include) 12 13find_package(OpenGL REQUIRED) 14 15add_executable(OpenGLHelloWorld src/main.cpp) 16 17target_link_libraries(OpenGLHelloWorld PRIVATE glfw OpenGL::GL) 18
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.