This PR doesn't change anything for the non-CMake, VC-builds.
For CMake builds, LSLNOAUTOLINK is set to disable the Windows+VC-only linking (because CMake already takes care of it).
When LIBLSL_STATIC is set, no visibility flags are set, otherwise all symbols marked with LIBLSL_C_API are marked as imported from a shared library or marked as export when LIBLSL_EXPORTS is set.
This PR doesn't change anything for the non-CMake, VC-builds. For CMake builds,
LSLNOAUTOLINK
is set to disable the Windows+VC-only linking (because CMake already takes care of it).When
LIBLSL_STATIC
is set, no visibility flags are set, otherwise all symbols marked withLIBLSL_C_API
are marked as imported from a shared library or marked as export whenLIBLSL_EXPORTS
is set.