OK, the problem was of course due to the fact the above libraries recursively reference other libraries etc.
I suck at cmake, but eventually found a function someone has written to 'bundle' libraries recursively:
I added a dawn_static dir to dawn with a CMakeLists.txt that included the bundle_static_library function above, along with:
```
add_library(dawn_static_libs STATIC ${DAWN_PLACEHOLDER_FILE})
target_link_libraries(dawn_static_libs PUBLIC
dawn_native
dawn_proc)
bundle_static_library(dawn_static_libs dawn_static)
```
Finally, I added add_subdirectory(dawn_static) to the *end* of top level CMakeLists.txt, all of which adds a new target called 'bundling_target' that, when built, produces a *single* dawn_static.lib you can use with your own projects!
Note: The bundle_static_library function needs to used *after* all dependent libraries have been add_library'd.
I would really love to see something like this added to dawn!
Bye,
Mark