- Run
./setup.sh
to setup the project. - Run
./build.sh
to build the entire project. - Run
./run.sh engine
and./run.sh generator
to execute the builtengine
orgenerator
executables.
- Use the
DEBUG_MODE
comptime define to determine whether the project is in debug mode. - Use
./clean.sh
to remove the build artifacts. Use./clean.sh --all
to nuke the whole build directory.
If CMake stops working, god help you, because I sure as fuck won't.
There are two VSCode debug profiles included in this project, Engine and Generator. To change the arguments passed to the executable at runtime, go to .vscode/launch.json
and edit the property args
for each respective profile.
- When creating new geometry primitives, place it's creation and serialization methods in
generator
, it's deserialization inengine
, and it's definition in acommon
header, inheriting fromBaseGeometry
. Remember to add a default destructurer to the source files, in both solutions.
-/20