Since symbols are now properly marked for export, we can finally
enable the building of DLLs on Windows.
string(REPLACE "::" "_" target ${target})
string(REPLACE "_" "-" output_name ${target})
string(REPLACE "::" "_" target ${target})
string(REPLACE "_" "-" output_name ${target})
- # On Windows, building shared libraries requires export headers.
- # Let's bother with that later.
- if (ARG_STATIC OR WIN32)
set(buildmode STATIC)
else()
set(buildmode SHARED)
set(buildmode STATIC)
else()
set(buildmode SHARED)