Skip to content

This is my template code for cross-platform OpenGL C++ with CMake projects

License

Notifications You must be signed in to change notification settings

CreepyMemes/glTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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

About

This is my template code for cross-platform OpenGL C++ with CMake projects

Topics

Resources

License

Stars

Watchers

Forks