Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.2 KB

README.md

File metadata and controls

36 lines (27 loc) · 2.2 KB

Simple CMake template for rayfork using sokol-app

This template works best when used with an IDE that supports cmake projects such as:

In any of these IDEs you should be able to just run the your-project-name-goes-here target and it will work.

Notes:
  • Bear in mind that rayfork is still under development and not officially released yet, you can use this template to experiment with rayfork if you are curious until it gets officially released. Once rayfork will be stable the libs/rayfork folder will be always updated with the latest release of rayfork, until then updates might be sparse.

  • The CMake file will also setup an ASSETS_PATH macro that will be an absolute path to the assets folder on your computer, if you wanna share the executable with other people then check lines 17 and 18 in the cmake file.

  • The gitignore file of this template works by first ignoring all files using * and then allowing specific files/folders like !file !folder !folder/**. If you don't like this setup feel free to change the gitignore, but if you keep it be aware in case you add new folders, or files in the root of the project.

  • Feel free to delete this readme.

This template uses: