You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
target_include_directories(dmusic-shared PUBLIC include)
target_link_libraries(dmusic-shared dmusic)
if (MINGW)
# We need to "bake" standard C/C++ libraries and windows pthread into DLL
# Otherwise we need to distribute up to 3 dlls within the same folder.
# If we don't do any of this, we'll get the following error (or a similar one):
# -> The procedure entry point _ZNKSt7codecvtlwc9_MbstatetE10do_unshiftERS0_PcS3_RS3_ could not be located in the dynamic link library [...]\build\test_lib.exe
# -> Dll couldn't be loaded as dependencies are missing.
target_link_options(dmusic-shared PUBLIC "-static")