backend_test: make glfw examples work with dynamic and static linking

This commit is contained in:
sonoro1234
2024-06-14 16:25:20 +02:00
parent 577f2b088a
commit 00ecbb0ee2
4 changed files with 43 additions and 20 deletions

View File

@@ -1,4 +1,6 @@
This example needs dx11 in generation before compile. (add dx11 to generator.bat(sh) and generate)
`STATIC_BUILD` is the cmake variable to do static linking
Only tested with VC nmake.