KStocky / ShaderTestFramework

An automation testing framework for testing shader code
MIT License
20 stars 1 forks source link

Investigate improving build times #49

Closed KStocky closed 1 week ago

KStocky commented 5 months ago

Describe the bug Rebuilds take ages. Investigating a way of improving compile times would be great. Build times of catch 2 probably can't be improved. However, we could improve build times of the test project.

To Reproduce Force a recompile by modifying a header like Platform.h or deleting the build folder

Expected behavior Full rebuilds should not take an age.

Additional context We could make use of Unity Builds in CMake, or swap STF to use modules. Or precompiled headers might not be a terrible idea. Another option could be using VCPKG or something like that to skip building catch2. Catch2 is our biggest bottleneck and it does not change between builds.