Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevenferrer/opengl-starter

OpenGL starter template
https://github.com/stevenferrer/opengl-starter

cmake learnopengl opengl

Last synced: 9 days ago
JSON representation

OpenGL starter template

Awesome Lists containing this project

README

        

# opengl-starter

This repository can be used as a starter template for [learnopengl.com](https://learnopengl.com/).

## Requirements
- [GLFW dependencies](https://www.glfw.org/docs/3.3/compile.html#compile_deps)
- [CMake](https://cmake.org/) (preferably latest version)
- [clangd](https://clangd.llvm.org/insAtallation#editor-plugins) editor plugin (optional)
- [clang](https://clang.llvm.org/) or [gcc](https://gcc.gnu.org/)

## How to build

1. Initialize cmake.

```bash
$ cmake -S . -B build
```

2. Build target, for example `hellowindow`.

```bash
$ cmake --build build --target hello_window
```

## License

[MIT](LICENSE)