glfw multiplayer window

Info

A glfw window which operates on a networked input snapshot

Depdendencies

CMake

...

# GLAD: opengl function loader

include_directories(external_libraries/glad_opengl_3.3_core/include)
add_subdirectory(external_libraries/glad_opengl_3.3_core)

# GLFW

# disable unnessary steps in build
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)

add_subdirectory(external_libraries/glfw)

... 

target_link_libraries(your_project_name ... glfw glad)

source code

git submodule add git@github.com:cpp-toolbox/glfw_multiplayer_window.git


edit this page