KStocky / ShaderTestFramework

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

Fix changes to cmakelists.txt causing full rebuilds #50

Closed KStocky closed 5 months ago

KStocky commented 5 months ago

The issue was caused by using an unconditional file(DOWNLOAD ...) to grab the float16 library. This would grab a whole new copy every time a cmakelists was changed, which then caused a full recompile since a root header had been updated. I have fixed this just by using fetchcontent. I also made the same change to tl-expected. However, it is a little different since calling FetchContent_MakeAvailable causes issues for tl-expected. In this case we just use FetchContent to download and manage versioning. We do the including of source information ourselves.

Fixes #44