glew-cmake
GLEW(https://github.com/nigels-com/glew, source updated nightly) with Cmake and pre-generated sources (by Perlmint)
opengl-imgui-cmake-template
👾 template repo for getting started with opengl together with imgui using cmake (by dcronqvist)
Our great sponsors
glew-cmake | opengl-imgui-cmake-template | |
---|---|---|
4 | 2 | |
223 | 4 | |
- | - | |
6.9 | 0.0 | |
3 months ago | almost 3 years ago | |
C | C++ | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
glew-cmake
Posts with mentions or reviews of glew-cmake.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-11.
-
Felt Cute, Might git rm --rf
glew (which needs a CMake-wrapped downstream mirror to completely automate the build hooks), from https://github.com/Perlmint/glew-cmake
-
CMake can't find GLEW
cmake_minimum_required(VERSION 3.16) project(P1_PR) add_executable(P1_PR src/main.cpp ) find_package(GLFW QUIET) if(NOT GLFW_FOUND) message(STATUS "GLFW not found, fetching from GitHub...") include(FetchContent) FETCHCONTENT_DECLARE( GLFW GIT_REPOSITORY https://github.com/glfw/glfw/ GIT_TAG 3.3.8 ) FetchContent_GetProperties(GLFW) if (NOT GLFW_POPULATED) set(FETCHCONTENT_QUIET NO) FetchContent_Populate(GLFW) set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) set(BUILD_GAMES OFF CACHE BOOL "" FORCE) add_subdirectory(${glfw_SOURCE_DIR} ${glfw_BINARY_DIR}) endif() endif() find_package(GLEW QUIET) if(NOT GLEW_FOUND) message(STATUS "GLEW not found, fetching from GitHub...") include(FetchContent) FETCHCONTENT_DECLARE( GLEW GIT_REPOSITORY https://github.com/Perlmint/glew-cmake GIT_TAG glew-cmake-2.2.0 ) FetchContent_GetProperties(GLEW) if (NOT GLEW_POPULATED) set(FETCHCONTENT_QUIET NO) FetchContent_Populate(GLEW) set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) set(BUILD_GAMES OFF CACHE BOOL "" FORCE) add_subdirectory(${glew_SOURCE_DIR} ${glew_BINARY_DIR}) endif() endif() target_include_directories(${PROJECT_NAME} PRIVATE ${GLFW_SOURCE_DIR} PRIVATE ${GLEW_SOURCE_DIR} ) target_link_libraries(${PROJECT_NAME} glfw glew32 opengl32 gdi32 glm ) target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20)
-
How do I get OpenGL working in a c++ vscode project?
I did it by using CMake and simply linking my executable with glew-cmake.
opengl-imgui-cmake-template
Posts with mentions or reviews of opengl-imgui-cmake-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-03.
-
How do I get OpenGL working in a c++ vscode project?
github template repo
What are some alternatives?
When comparing glew-cmake and opengl-imgui-cmake-template you can also consider the following projects:
glad - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
basic-voxel-engine - A Minecraft-like voxel engine, written in C++.
zxShaderViz - A useful tool to edit and visualize shaders in real time.
TabGraph - Simple Scenegraph featuring Physically Based Rendering
sdlbox - Quick template/proof-of-concept for building and using SDL3 to define a basic cross-platform OpenGL application using cmake
Basilisk
SDL - Simple Directmedia Layer