Skip to content

A simple rayfork project template with sokol-app and CMake

Notifications You must be signed in to change notification settings

RazortoothRTC/rayfork-sokol-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
  • (truedat101) Upgrade to use metal and function inside of VisionPro.

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

About

A simple rayfork project template with sokol-app and CMake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 71.5%
  • C++ 28.1%
  • Other 0.4%