This PR merges the fix to LveBuffer validation error found on my system, per Brendan's instruction.
Also, I added a ROOT_PATH macro that can be set in compiler options to provide the ability to read files from a path prefix. If the compiler doesn't declare ROOT_PATH, then it defaults to an empty string in code and is read from the executables current working path. This was done in an effort to use cmake outside the repo folder without having to make any changes to the repo.
My dev folder layout looks like:
build (folder)
littleVulkanEngine (repo folder)
CMakeLists.txt (cmake config)
.env (file) - sets the path prefix for cmake config and loading shaders/models
This PR merges the fix to LveBuffer validation error found on my system, per Brendan's instruction.
Also, I added a ROOT_PATH macro that can be set in compiler options to provide the ability to read files from a path prefix. If the compiler doesn't declare ROOT_PATH, then it defaults to an empty string in code and is read from the executables current working path. This was done in an effort to use cmake outside the repo folder without having to make any changes to the repo.
My dev folder layout looks like: