Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/creepymemes/gltemplate
This is my template code for cross-platform OpenGL C++ with CMake projects
https://github.com/creepymemes/gltemplate
cmake cpp crossplatform opengl template-repository
Last synced: about 1 month ago
JSON representation
This is my template code for cross-platform OpenGL C++ with CMake projects
- Host: GitHub
- URL: https://github.com/creepymemes/gltemplate
- Owner: CreepyMemes
- License: mit
- Created: 2023-05-17T12:20:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-31T15:34:51.000Z (over 1 year ago)
- Last Synced: 2024-01-17T00:16:35.779Z (about 1 year ago)
- Topics: cmake, cpp, crossplatform, opengl, template-repository
- Language: C++
- Homepage:
- Size: 430 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to use:
### First of all clone this repo (and it's submodules automatically) with this command:
```
git clone --recursive https://github.com/CreepyMemes/glTemplate.git
```### From the _root directory_, to generate the cmake configuration run this command:
- #### If on Linux just run this command:
```
cmake -S . -B build/
```- #### If on Windows install MinGW from [here](https://www.msys2.org/) then run this command:
```
cmake -S . -B build/ -G "MinGW Makefiles"
```### Finally to generate the executable file run this command:
cmake --build build### Then run the previously generated executable:
- #### If on Linux do:
```
./build/App
```- #### If on Windows do:
```
.\build\App
```