#4978 Compile core on VS2015

This commit is contained in:
Andrew Nelless 2016-06-20 14:29:08 +01:00 committed by Jerry (Xinyu Hou)
parent 42494a72a5
commit c2b6b60cec
2 changed files with 3 additions and 0 deletions

View File

@ -312,6 +312,7 @@ else() # not-unix
/D_WINDOWS /D_WINDOWS
/D_CRT_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_WARNINGS
/DVERSION=\"${VERSION}\" /DVERSION=\"${VERSION}\"
/D_XKEYCHECK_H
) )
if (MSVC_VERSION EQUAL 1600) if (MSVC_VERSION EQUAL 1600)

View File

@ -26,6 +26,8 @@ include_directories(
add_library(synwinhk SHARED ${sources}) add_library(synwinhk SHARED ${sources})
target_link_libraries (synwinhk libucrt)
# copy the dlls (and supporting files) from the lib dir to # copy the dlls (and supporting files) from the lib dir to
# the bin dir, so that synergyc and synergys can easily find them. # the bin dir, so that synergyc and synergys can easily find them.
# we should leave the other libraries compiling to the lib dir, # we should leave the other libraries compiling to the lib dir,