Basilisk
By rfdickerson
glew-cmake
GLEW(https://github.com/nigels-com/glew, source updated nightly) with Cmake and pre-generated sources (by Perlmint)
Our great sponsors
Basilisk | glew-cmake | |
---|---|---|
1 | 4 | |
0 | 226 | |
- | - | |
0.0 | 6.9 | |
almost 3 years ago | 5 months ago | |
C++ | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
Basilisk
Posts with mentions or reviews of Basilisk.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-03.
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)
- Using CMake on Mac, GLEW builds successfully but doesn't let me include ? On Linux, this is not an issue ?
-
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.
What are some alternatives?
When comparing Basilisk and glew-cmake you can also consider the following projects:
opengl-imgui-cmake-template - 👾 template repo for getting started with opengl together with imgui using cmake
glad - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
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
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
SDL - Simple Directmedia Layer