Closed bullno1 closed 2 months ago
Not sure about the fpic force for non-linux, I'll take a look at this at some point though. Thank you!
AFAIK, it is not a thing in Windows: https://stackoverflow.com/a/13309747. So the setting should just noop if it's clang.
In MSVC, there is no such flag anyway. I believe CMake is smart enough to noop.
Mac is unix so it should be similar.
Edit: uhm: https://discourse.cmake.org/t/windows-clang-platform-adds-fpic-for-shared-dlls/1784 Is windows+clang a supported combination? On windows I only use MSVC. Anything else is pain.
Only tested on Linux so far but hot reload works.