Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.47 KB

README.md

File metadata and controls

51 lines (41 loc) · 1.47 KB

UTRGV Senior Project 2024

Asher Haun and Victor Contreras Advised by Dr. Emmet Tomai

Project board

Requirements

  • Premake 5 (bundled with repository)
  • Clang++, VS22 or other C++ compiler supported by Premake5
  • Git

Setup and running

Build script usage:

Run the script without parameters for usage instructions.

# DOS
> .\build.bat
# Mac OS
$ ./build.sh

Example compilation command

The compile command will generate a build solution in the ./build/[build_system]/ directory. [num_cores] can be left blank, default: 4, or input as a number by you.

# DOS
> .\build.bat compile vs2022 Release [num_cores]
# Mac OS
$ ./build.sh compile gmake2 Release [num_cores]

If you would prefer to create a build solution and use an IDE, this will work, or you can use premake as normal.

Run the binary The compile command will build an executable within the following directory structure:

./build/[build_system]/bin/[architecture]/[Release|Debug]/voxels[.exe]

Compile and Run

# DOS
> .\build.bat run vs2022 Release [num_cores]
# Mac OS
$ ./build.sh run gmake2 Release [num_cores]

Credits

Our premake5.lua script is based on the the Minimal BGFX Example Project by @jpcy, used with permission through the BSD-2 License.