A little toolkit for single-quad fragment shader demos
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
237 B

  1. add_library(gl3w STATIC
  2. src/gl3w.c include/GL/gl3w.h include/GL/glcorearb.h)
  3. target_include_directories(gl3w PUBLIC
  4. $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>/include)
  5. # -ldl
  6. target_link_libraries(gl3w PRIVATE ${CMAKE_DL_LIBS})