Sha256: 7fe7935123a5bdedd9d6c7c42c0e5ef2d81d4d403873ffa93c988c473a1a38e6
Contents?: true
Size: 650 Bytes
Versions: 21
Compression:
Stored size: 650 Bytes
Contents
#include <GL/glew.h> #include <stdio.h> #include <stdlib.h> #define S(x) SS(x) #define SS(x) #x int main(int argc, char* argv[]) { printf("GLEW CMake test, %s build\n", S(GLEW_CMAKE_TEST_CONFIG)); printf("-- linked to %s which is %s\n", S(GLEW_CMAKE_TEST_TARGET_FILE_NAME), S(GLEW_CMAKE_TEST_TARGET_TYPE)); const GLubyte* v = glewGetString(GLEW_VERSION); if(v) { printf("-- glewGetString(GLEW_VERSION) returns %s\n-- test passed.\n", v); return EXIT_SUCCESS; } else { printf("-- glewGetString(GLEW_VERSION) returns NULL\n-- test failed.\n"); return EXIT_FAILURE; } }
Version data entries
21 entries across 21 versions & 1 rubygems