Closed Hlongyu closed 2 months ago
Do you know, why the static postfix is necessary on windows? Shouldn't the .dll/.lib file extensions be sufficient to indicate static and dynamic builds?
Do you know, why the static postfix is necessary on windows? Shouldn't the .dll/.lib file extensions be sufficient to indicate static and dynamic builds?
On the Windows platform, it's true that 'static' is not needed in the naming of static libraries. However, I noticed that Ninja seems to compile both dynamic and static libraries simultaneously which use same OUTPUT_NANE, and I misunderstood the meaning of OUTPUT_NAME. Adding '_static' was a mistake; I'll fix it tomorrow.
I think we need an option to use shared or static.
Like https://github.com/recp/cglm/blob/48839a38a14a653c233693fa911348ce58d57167/CMakeLists.txt#L14
Thank you! One last thing: The system_info_standalone target must be removed from the tests.
https://github.com/lfreist/hwinfo/issues/102