Add License, ignore build directory

This commit is contained in:
Felix Suchert 2023-09-17 20:15:19 +02:00
parent 07115e4cb3
commit eec4245dca
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
3 changed files with 33 additions and 3 deletions

4
.gitignore vendored
View file

@ -1,3 +1,5 @@
build/
### C ###
# Prerequisites
*.d
@ -67,4 +69,4 @@ _deps
### CMake Patch ###
# External projects
*-prefix/
*-prefix/

22
LICENSE Normal file
View file

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2023 Felix Suchert
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -4,7 +4,13 @@ This repository houses my own implementation of Tetris. _Why?_ To learn a bit of
## Building
TODO
You need [GLFW](https://www.glfw.org) to build this project, as well as OpenGL 4.1. Compile the project using CMake:
```
cmake -S . -B build
cmake --build build
build/Tetris
```
## Generating glad files
@ -16,4 +22,4 @@ glad --out-path . --api gl:core=4.1 c
## License
This work is licensed under the GNU Lesser General Public License v3. See [LICENSE](./LICENSE) for details.
This work is licensed under the MIR license. See [LICENSE](./LICENSE) for details.