Giter Club home page Giter Club logo

glew-cmake's Introduction

GLEW-cmake - nightly pre-generated snapshot with old unofficial cmake support

GLEW is upstream of this project. But GLEW repository does not contain generated sources. Only releases include generated sources.

GLEW-cmake has generated sources based on the latest GLEW. Sources are generated nightly. If you need only the latest snapshot of GLEW, try the build system of GLEW. It is placed under the build directory. Official CMakeLists.txt is placed in build/cmake. Please check README_glew.md for using build system of GLEW.

Also, GLEW-cmake has unofficial cmake support - It is created when the official CMake support of GLEW does not exist. You can see some CMake script examples in glew-cmake directory. But, I strongly recommend using official CMakeLists of GLEW.

Usage

This project provide libglew_static and libglew_shared library targets and glewinfo and visualinfo executable targets.

libglew_static provides a static library, and libglew_shared provides a shared library. glew-cmake does not affected by BUILD_SHARED_LIBS.

You can disable each library target by setting glew-cmake_BUILD_SHARED or glew-cmake_BUILD_STATIC falsy value (ex. NO, FALSE).

If you need only libraries, Please set ONLY_LIBS to ON. Otherwise, cmake generates executable targets also.

You can get pkg-config fils by setting PKG_CONFIG_REPRESENTATIVE_TARGET to libglew_static or libglew_shared.

Simply specify dependency of your target with libglew_static or libglew_shared by target_link_libraries. It will set the additional include directory & the libraries to link to your target.

If you are not familiar with cmake, Some sub-directory-test.cmake, fetch-content.cmake in glew-cmake could be helpful.

glew-cmake's People

Contributors

nigels-com avatar perlmint avatar dimi309 avatar dudamoos avatar xantares avatar adrianbroher avatar davispuh avatar thevice avatar tamaskenez avatar karlssonper avatar limdor avatar tornado1717 avatar jschueller avatar bastiaanolij avatar mcdamon avatar stopiccot avatar vanfanel avatar tfogal avatar westfence105 avatar rossburton avatar sanssecours avatar marv avatar tokenrove avatar jlsantiago0 avatar gekkiehenkie avatar dcower avatar danyspin97 avatar bit2shift avatar claudiofantacci avatar andystanton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.