mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 02:47:56 +08:00
cmake building DLLs are ok for Windows
This commit is contained in:
parent
b1721868d6
commit
534eefd4bc
@ -114,6 +114,7 @@ if (${UNIX_OS})
|
||||
elseif (${WIN_OS})
|
||||
add_definitions(
|
||||
"-Yc"
|
||||
"-D_WINSOCK_DEPRECATED_NO_WARNINGS"
|
||||
"-DACL_WRITEABLE_CHECK"
|
||||
"-DACL_PREPARE_COMPILE")
|
||||
endif()
|
||||
|
@ -129,6 +129,10 @@ elseif (${WIN_OS})
|
||||
"-DACL_WRITEABLE_CHECK"
|
||||
"-DACL_PREPARE_COMPILE"
|
||||
"-DHAS_ZLIB_DLL"
|
||||
"-DHAS_MYSQL_DLL"
|
||||
"-DHAS_SQLITE_DLL"
|
||||
"-DHAS_PGSQL_DLL"
|
||||
"-DHAS_POLARSSL_DLL"
|
||||
"-DUSE_WIN_ICONV")
|
||||
aux_source_directory(${src}/stdlib/internal lib_src)
|
||||
endif()
|
||||
|
@ -87,6 +87,7 @@ if (${UNIX_OS})
|
||||
elseif (${WIN_OS})
|
||||
add_definitions(
|
||||
"-Yc"
|
||||
"-D_WINSOCK_DEPRECATED_NO_WARNINGS"
|
||||
"-DACL_WRITEABLE_CHECK"
|
||||
"-DACL_PREPARE_COMPILE")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user