Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for building with CMake #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arash28134
Copy link

@arash28134 arash28134 commented Sep 12, 2022

  • Added support for building with CMake (CMakeLists.txt)

  • Organized project's folder structure

  • Changed exit key from Q to Escape

  • Added shell script (build.sh) for automating the building process using CMake. it first generates Makefile using CMake, then builds and copies shaders and models from resources/ into build directory. if you run it with the '-r' or '--run' flag, it'll also run the program after building. you can also pack the build directory into a .tar.gz file with '-p' or '--pack' flag

  • Included the glad.h and khrplatform.h header files as they're needed for GLAD

  • Updated .gitignore

  • Removed stb_image.h as It's unused throughout the whole project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant