summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-12 20:31:55 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-12 20:31:55 +0000
commit17871cc1006e39afda8ce6a0ace4231fea42320b (patch)
tree86feac854bb5882fd239baab16f695f539ee5057
parent2a28e9c80e2386961db84f5ce932b1e33f43b7b3 (diff)
downloadhercules-17871cc1006e39afda8ce6a0ace4231fea42320b.tar.gz
hercules-17871cc1006e39afda8ce6a0ace4231fea42320b.tar.bz2
hercules-17871cc1006e39afda8ce6a0ace4231fea42320b.tar.xz
hercules-17871cc1006e39afda8ce6a0ace4231fea42320b.zip
* Merged changes up to eAthena 15096.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16106 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--3rdparty/mysql/CMakeLists.txt85
-rw-r--r--3rdparty/mysql/mysql-5.5.24-win32-libmysql.tar.gzbin0 -> 2094955 bytes
-rw-r--r--3rdparty/mysql/mysql-5.5.24-winx64-libmysql.tar.gzbin0 -> 2076879 bytes
-rw-r--r--3rdparty/mysql/old/include/config-win.h (renamed from 3rdparty/mysql/include/config-win.h)0
-rw-r--r--3rdparty/mysql/old/include/m_ctype.h (renamed from 3rdparty/mysql/include/m_ctype.h)2
-rw-r--r--3rdparty/mysql/old/include/my_alloc.h (renamed from 3rdparty/mysql/include/my_alloc.h)0
-rw-r--r--3rdparty/mysql/old/include/my_dbug.h (renamed from 3rdparty/mysql/include/my_dbug.h)0
-rw-r--r--3rdparty/mysql/old/include/my_global.h (renamed from 3rdparty/mysql/include/my_global.h)0
-rw-r--r--3rdparty/mysql/old/include/my_list.h (renamed from 3rdparty/mysql/include/my_list.h)0
-rw-r--r--3rdparty/mysql/old/include/my_pthread.h (renamed from 3rdparty/mysql/include/my_pthread.h)0
-rw-r--r--3rdparty/mysql/old/include/my_sys.h (renamed from 3rdparty/mysql/include/my_sys.h)0
-rw-r--r--3rdparty/mysql/old/include/mysql.h (renamed from 3rdparty/mysql/include/mysql.h)0
-rw-r--r--3rdparty/mysql/old/include/mysql_com.h (renamed from 3rdparty/mysql/include/mysql_com.h)0
-rw-r--r--3rdparty/mysql/old/include/mysql_time.h (renamed from 3rdparty/mysql/include/mysql_time.h)0
-rw-r--r--3rdparty/mysql/old/include/mysql_version.h (renamed from 3rdparty/mysql/include/mysql_version.h)0
-rw-r--r--3rdparty/mysql/old/include/raid.h (renamed from 3rdparty/mysql/include/raid.h)0
-rw-r--r--3rdparty/mysql/old/include/typelib.h (renamed from 3rdparty/mysql/include/typelib.h)0
-rw-r--r--3rdparty/mysql/old/lib/libmysql.lib (renamed from 3rdparty/mysql/lib/libmysql.lib)bin34900 -> 34900 bytes
-rw-r--r--3rdparty/mysql/old/mysql-5.0.20 (renamed from 3rdparty/mysql/mysql-5.0.20)0
-rw-r--r--CMakeLists.txt1
-rw-r--r--vcproj-10/char-server_sql.vcxproj8
-rw-r--r--vcproj-10/login-server_sql.vcxproj8
-rw-r--r--vcproj-10/map-server_sql.vcxproj8
-rw-r--r--vcproj-9/char-server_sql.vcproj8
-rw-r--r--vcproj-9/login-server_sql.vcproj8
-rw-r--r--vcproj-9/map-server_sql.vcproj8
26 files changed, 83 insertions, 53 deletions
diff --git a/3rdparty/mysql/CMakeLists.txt b/3rdparty/mysql/CMakeLists.txt
index e85fd626d..7bffa06af 100644
--- a/3rdparty/mysql/CMakeLists.txt
+++ b/3rdparty/mysql/CMakeLists.txt
@@ -4,37 +4,62 @@
#
if( WIN32 )
message( STATUS "Detecting local MYSQL" )
-find_path( MYSQL_LOCAL_INCLUDE_DIRS "mysql.h"
- PATHS "${CMAKE_CURRENT_SOURCE_DIR}/include"
- NO_DEFAULT_PATH )
-find_library( MYSQL_LOCAL_LIBRARIES
- NAMES libmysql
- PATHS "${CMAKE_CURRENT_SOURCE_DIR}/lib"
- NO_DEFAULT_PATH )
-mark_as_advanced( MYSQL_LOCAL_LIBRARIES )
-mark_as_advanced( MYSQL_LOCAL_INCLUDE_DIRS )
-if( MYSQL_LOCAL_LIBRARIES AND MYSQL_LOCAL_INCLUDE_DIRS )
- if( EXISTS "${MYSQL_LOCAL_INCLUDE_DIRS}/mysql_version.h" )
- file( STRINGS "${MYSQL_LOCAL_INCLUDE_DIRS}/mysql_version.h" MYSQL_VERSION_H REGEX "^#define MYSQL_SERVER_VERSION[ \t]+\"[^\"]+\".*$" )
- string( REGEX REPLACE "^.*MYSQL_SERVER_VERSION[ \t]+\"([^\"]+)\".*$" "\\1" MYSQL_SERVER_VERSION "${MYSQL_VERSION_H}" )
- message( STATUS "Found MYSQL: ${MYSQL_LOCAL_LIBRARIES} (found version ${MYSQL_SERVER_VERSION})" )
- else()
- message( STATUS "Found MYSQL: ${MYSQL_LOCAL_LIBRARIES}" )
- endif()
- set( HAVE_LOCAL_MYSQL ON
- CACHE BOOL "mysql client is available as a local copy")
- mark_as_advanced( HAVE_LOCAL_MYSQL )
+# external_mysql
+message( STATUS "Creating target external_mysql" )
+if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+ set( _URL "${CMAKE_CURRENT_SOURCE_DIR}/mysql-5.5.24-winx64-libmysql.tar.gz" )
+ set( _URL_MD5 "36ae333e56ff6ae99de13edf893a1792" )
+elseif( CMAKE_SIZEOF_VOID_P EQUAL 4 )
+ set( _URL "${CMAKE_CURRENT_SOURCE_DIR}/mysql-5.5.24-win32-libmysql.tar.gz" )
+ set( _URL_MD5 "e9abe2055bba07995c89e66c7c6d1e2c" )
else()
- foreach( _VAR MYSQL_LOCAL_LIBRARIES MYSQL_LOCAL_INCLUDE_DIRS )
- if( NOT "${_VAR}" )
- set( MISSING_VARS ${MISSING_VARS} ${_VAR} )
- endif()
- endforeach()
- message( STATUS "Could NOT find MYSQL (missing: ${MISSING_VARS})" )
- unset( HAVE_LOCAL_MYSQL CACHE )
+ message( FATAL_ERROR "Not supported: CMAKE_SIZEOF_VOID_P=${CMAKE_SIZEOF_VOID_P}" )
endif()
+set( _INSTALL_DIR "${CMAKE_BINARY_DIR}/external/mysql" )
+
+
+message( STATUS "Using URL=${_URL}" )
+message( STATUS "Using URL_MD5=${_URL_MD5}" )
+message( STATUS "Using INSTALL_DIR=${_INSTALL_DIR}" )
+include(ExternalProject)
+ExternalProject_Add( external_mysql
+ URL "${_URL}"
+ URL_MD5 "${_URL_MD5}"
+ SOURCE_DIR "${_INSTALL_DIR}"
+ CONFIGURE_COMMAND ""
+ BUILD_COMMAND ""
+ INSTALL_COMMAND ""
+)
+set( TARGET_LIST ${TARGET_LIST} external_mysql CACHE INTERNAL "" )
+message( STATUS "Creating target external_mysql - done" )
+
+# libmysql
+message( STATUS "Creating import shared library libmysql" )
+add_library( libmysql SHARED IMPORTED GLOBAL )
+set_target_properties( libmysql PROPERTIES
+ IMPORTED_LOCATION "${_INSTALL_DIR}/lib/libmysql.dll"
+ IMPORTED_IMPLIB "${_INSTALL_DIR}/lib/libmysql.lib" )
+message( STATUS "Creating import shared library libmysql - done" )
+
+set( HAVE_LOCAL_MYSQL ON
+ CACHE BOOL "mysql client is available as a local copy" )
+set( MYSQL_LOCAL_DEPENDENCIES external_mysql
+ CACHE STRING "local mysql dependencies" )
+set( MYSQL_LOCAL_LIBRARIES libmysql
+ CACHE PATH "local mysql libraries" )
+set( MYSQL_LOCAL_INCLUDE_DIRS "${_INSTALL_DIR}/include"
+ CACHE PATH "local mysql include directories" )
+set( MYSQL_LOCAL_DEFINITIONS
+ CACHE STRING "local mysql definitions" )
+mark_as_advanced( HAVE_LOCAL_MYSQL )
+mark_as_advanced( MYSQL_LOCAL_DEPENDENCIES )
+mark_as_advanced( MYSQL_LOCAL_LIBRARIES )
+mark_as_advanced( MYSQL_LOCAL_INCLUDE_DIRS )
+mark_as_advanced( MYSQL_LOCAL_DEFINITIONS )
message( STATUS "Detecting local MYSQL - done" )
+else( WIN32 )
+message( STATUS "Skipping local MYSQL (requires WIN32)" )
endif( WIN32 )
@@ -66,3 +91,9 @@ message( STATUS "Detecting system MYSQL - done" )
# configure
#
CONFIGURE_WITH_LOCAL_OR_SYSTEM( MYSQL )
+if( WITH_LOCAL_MYSQL AND INSTALL_COMPONENT_RUNTIME )
+ install( FILES "${_INSTALL_DIR}/lib/libmysql.dll"
+ DESTINATION "."
+ COMPONENT Runtime_base )
+endif( WITH_LOCAL_MYSQL AND INSTALL_COMPONENT_RUNTIME )
+
diff --git a/3rdparty/mysql/mysql-5.5.24-win32-libmysql.tar.gz b/3rdparty/mysql/mysql-5.5.24-win32-libmysql.tar.gz
new file mode 100644
index 000000000..a097f2086
--- /dev/null
+++ b/3rdparty/mysql/mysql-5.5.24-win32-libmysql.tar.gz
Binary files differ
diff --git a/3rdparty/mysql/mysql-5.5.24-winx64-libmysql.tar.gz b/3rdparty/mysql/mysql-5.5.24-winx64-libmysql.tar.gz
new file mode 100644
index 000000000..56a39a59a
--- /dev/null
+++ b/3rdparty/mysql/mysql-5.5.24-winx64-libmysql.tar.gz
Binary files differ
diff --git a/3rdparty/mysql/include/config-win.h b/3rdparty/mysql/old/include/config-win.h
index b2e1c9831..b2e1c9831 100644
--- a/3rdparty/mysql/include/config-win.h
+++ b/3rdparty/mysql/old/include/config-win.h
diff --git a/3rdparty/mysql/include/m_ctype.h b/3rdparty/mysql/old/include/m_ctype.h
index 7d058d89d..54ae41bf2 100644
--- a/3rdparty/mysql/include/m_ctype.h
+++ b/3rdparty/mysql/old/include/m_ctype.h
@@ -76,7 +76,7 @@ extern MY_UNICASE_INFO *my_unicase_turkish[256];
#define MY_CS_UNICODE 128 /* is a charset is full unicode */
#define MY_CS_READY 256 /* if a charset is initialized */
#define MY_CS_AVAILABLE 512 /* If either compiled-in or loaded*/
-#define MY_CS_CSSORT 1024 /* if case sensitive sort order */
+#define MY_CS_CSSORT 1024 /* if case sensitive sort order */
#define MY_CHARSET_UNDEFINED 0
diff --git a/3rdparty/mysql/include/my_alloc.h b/3rdparty/mysql/old/include/my_alloc.h
index 1641b3acf..1641b3acf 100644
--- a/3rdparty/mysql/include/my_alloc.h
+++ b/3rdparty/mysql/old/include/my_alloc.h
diff --git a/3rdparty/mysql/include/my_dbug.h b/3rdparty/mysql/old/include/my_dbug.h
index b76a3fcc8..b76a3fcc8 100644
--- a/3rdparty/mysql/include/my_dbug.h
+++ b/3rdparty/mysql/old/include/my_dbug.h
diff --git a/3rdparty/mysql/include/my_global.h b/3rdparty/mysql/old/include/my_global.h
index 2417477e2..2417477e2 100644
--- a/3rdparty/mysql/include/my_global.h
+++ b/3rdparty/mysql/old/include/my_global.h
diff --git a/3rdparty/mysql/include/my_list.h b/3rdparty/mysql/old/include/my_list.h
index 92598696f..92598696f 100644
--- a/3rdparty/mysql/include/my_list.h
+++ b/3rdparty/mysql/old/include/my_list.h
diff --git a/3rdparty/mysql/include/my_pthread.h b/3rdparty/mysql/old/include/my_pthread.h
index 202e047dc..202e047dc 100644
--- a/3rdparty/mysql/include/my_pthread.h
+++ b/3rdparty/mysql/old/include/my_pthread.h
diff --git a/3rdparty/mysql/include/my_sys.h b/3rdparty/mysql/old/include/my_sys.h
index 44fe383bf..44fe383bf 100644
--- a/3rdparty/mysql/include/my_sys.h
+++ b/3rdparty/mysql/old/include/my_sys.h
diff --git a/3rdparty/mysql/include/mysql.h b/3rdparty/mysql/old/include/mysql.h
index 925a45253..925a45253 100644
--- a/3rdparty/mysql/include/mysql.h
+++ b/3rdparty/mysql/old/include/mysql.h
diff --git a/3rdparty/mysql/include/mysql_com.h b/3rdparty/mysql/old/include/mysql_com.h
index ec1c13379..ec1c13379 100644
--- a/3rdparty/mysql/include/mysql_com.h
+++ b/3rdparty/mysql/old/include/mysql_com.h
diff --git a/3rdparty/mysql/include/mysql_time.h b/3rdparty/mysql/old/include/mysql_time.h
index 5f4fc12c0..5f4fc12c0 100644
--- a/3rdparty/mysql/include/mysql_time.h
+++ b/3rdparty/mysql/old/include/mysql_time.h
diff --git a/3rdparty/mysql/include/mysql_version.h b/3rdparty/mysql/old/include/mysql_version.h
index 473a19987..473a19987 100644
--- a/3rdparty/mysql/include/mysql_version.h
+++ b/3rdparty/mysql/old/include/mysql_version.h
diff --git a/3rdparty/mysql/include/raid.h b/3rdparty/mysql/old/include/raid.h
index c840afcba..c840afcba 100644
--- a/3rdparty/mysql/include/raid.h
+++ b/3rdparty/mysql/old/include/raid.h
diff --git a/3rdparty/mysql/include/typelib.h b/3rdparty/mysql/old/include/typelib.h
index 4d6a90ad5..4d6a90ad5 100644
--- a/3rdparty/mysql/include/typelib.h
+++ b/3rdparty/mysql/old/include/typelib.h
diff --git a/3rdparty/mysql/lib/libmysql.lib b/3rdparty/mysql/old/lib/libmysql.lib
index aa99dc3b8..aa99dc3b8 100644
--- a/3rdparty/mysql/lib/libmysql.lib
+++ b/3rdparty/mysql/old/lib/libmysql.lib
Binary files differ
diff --git a/3rdparty/mysql/mysql-5.0.20 b/3rdparty/mysql/old/mysql-5.0.20
index e69de29bb..e69de29bb 100644
--- a/3rdparty/mysql/mysql-5.0.20
+++ b/3rdparty/mysql/old/mysql-5.0.20
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d0771254..6c08297b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -465,7 +465,6 @@ set( RUNTIME_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/char-server.sh"
"${CMAKE_CURRENT_SOURCE_DIR}/charserv-sql.bat"
"${CMAKE_CURRENT_SOURCE_DIR}/dbghelp.dll"
- "${CMAKE_CURRENT_SOURCE_DIR}/libmysql.dll"
"${CMAKE_CURRENT_SOURCE_DIR}/LICENSE"
"${CMAKE_CURRENT_SOURCE_DIR}/login-server.sh"
"${CMAKE_CURRENT_SOURCE_DIR}/logserv-sql.bat"
diff --git a/vcproj-10/char-server_sql.vcxproj b/vcproj-10/char-server_sql.vcxproj
index a7b57e7aa..436c294ad 100644
--- a/vcproj-10/char-server_sql.vcxproj
+++ b/vcproj-10/char-server_sql.vcxproj
@@ -51,7 +51,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
@@ -73,7 +73,7 @@
<Link>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>..\3rdparty\mysql\old\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -94,7 +94,7 @@
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
- <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;LIBCONFIG_STATIC;YY_USE_CONST;FD_SETSIZE=4096;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -111,7 +111,7 @@
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>..\3rdparty\mysql\old\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
diff --git a/vcproj-10/login-server_sql.vcxproj b/vcproj-10/login-server_sql.vcxproj
index d747c3e1e..4b152c0ab 100644
--- a/vcproj-10/login-server_sql.vcxproj
+++ b/vcproj-10/login-server_sql.vcxproj
@@ -51,7 +51,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;WITH_SQL;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
@@ -73,7 +73,7 @@
<Link>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>..\3rdparty\mysql\old\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -94,7 +94,7 @@
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
- <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;WITH_SQL;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -115,7 +115,7 @@
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>..\3rdparty\mysql\old\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
diff --git a/vcproj-10/map-server_sql.vcxproj b/vcproj-10/map-server_sql.vcxproj
index 2326f5a6e..8a834b505 100644
--- a/vcproj-10/map-server_sql.vcxproj
+++ b/vcproj-10/map-server_sql.vcxproj
@@ -50,7 +50,7 @@
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
- <AdditionalIncludeDirectories>..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\3rdparty\mysql\old\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;_DEBUG;PCRE_SUPPORT;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessToFile>false</PreprocessToFile>
<PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
@@ -72,7 +72,7 @@
<Link>
<AdditionalDependencies>libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>..\3rdparty\mysql\old\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
@@ -93,7 +93,7 @@
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
- <AdditionalIncludeDirectories>..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>..\3rdparty\mysql\old\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_WIN32;__WIN32;NDEBUG;PCRE_SUPPORT;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
@@ -110,7 +110,7 @@
<Link>
<AdditionalDependencies>libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <AdditionalLibraryDirectories>..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalLibraryDirectories>..\3rdparty\mysql\old\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
diff --git a/vcproj-9/char-server_sql.vcproj b/vcproj-9/char-server_sql.vcproj
index 3e6e85558..0ea3e9c27 100644
--- a/vcproj-9/char-server_sql.vcproj
+++ b/vcproj-9/char-server_sql.vcproj
@@ -43,7 +43,7 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
- AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
+ AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_DEBUG;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST"
GeneratePreprocessedFile="0"
ExceptionHandling="0"
@@ -71,7 +71,7 @@
AdditionalDependencies="libcmtd.lib oldnames.lib ws2_32.lib libmysql.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\3rdparty\mysql\lib"
+ AdditionalLibraryDirectories="..\3rdparty\mysql\old\lib"
IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
@@ -137,7 +137,7 @@
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="true"
- AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
+ AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;NDEBUG;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST"
StringPooling="true"
RuntimeLibrary="0"
@@ -162,7 +162,7 @@
AdditionalDependencies="libcmt.lib oldnames.lib ws2_32.lib libmysql.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\3rdparty\mysql\lib"
+ AdditionalLibraryDirectories="..\3rdparty\mysql\old\lib"
IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
diff --git a/vcproj-9/login-server_sql.vcproj b/vcproj-9/login-server_sql.vcproj
index 2cf3c6e6c..3799fda05 100644
--- a/vcproj-9/login-server_sql.vcproj
+++ b/vcproj-9/login-server_sql.vcproj
@@ -43,7 +43,7 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
- AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
+ AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_DEBUG;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;WITH_SQL"
GeneratePreprocessedFile="0"
ExceptionHandling="0"
@@ -71,7 +71,7 @@
AdditionalDependencies="libcmtd.lib oldnames.lib ws2_32.lib libmysql.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\3rdparty\mysql\lib"
+ AdditionalLibraryDirectories="..\3rdparty\mysql\old\lib"
IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
@@ -137,7 +137,7 @@
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="true"
- AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
+ AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;NDEBUG;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;WITH_SQL"
StringPooling="true"
RuntimeLibrary="0"
@@ -164,7 +164,7 @@
AdditionalDependencies="libcmt.lib oldnames.lib ws2_32.lib libmysql.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\3rdparty\mysql\lib"
+ AdditionalLibraryDirectories="..\3rdparty\mysql\old\lib"
IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
diff --git a/vcproj-9/map-server_sql.vcproj b/vcproj-9/map-server_sql.vcproj
index a9f2b4fba..3cf1c0ff5 100644
--- a/vcproj-9/map-server_sql.vcproj
+++ b/vcproj-9/map-server_sql.vcproj
@@ -42,7 +42,7 @@
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
- AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
+ AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;_DEBUG;PCRE_SUPPORT;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST"
GeneratePreprocessedFile="0"
ExceptionHandling="0"
@@ -70,7 +70,7 @@
AdditionalDependencies="libcmtd.lib oldnames.lib ws2_32.lib libmysql.lib zdll.lib pcre.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib"
+ AdditionalLibraryDirectories="..\3rdparty\mysql\old\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib"
IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
@@ -136,7 +136,7 @@
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="true"
- AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
+ AdditionalIncludeDirectories="..\3rdparty\libconfig;..\3rdparty\mysql\old\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar"
PreprocessorDefinitions="WIN32;_WIN32;__WIN32;NDEBUG;PCRE_SUPPORT;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST"
StringPooling="true"
RuntimeLibrary="0"
@@ -161,7 +161,7 @@
AdditionalDependencies="libcmt.lib oldnames.lib ws2_32.lib libmysql.lib zdll.lib pcre.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib"
+ AdditionalLibraryDirectories="..\3rdparty\mysql\old\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib"
IgnoreAllDefaultLibraries="true"
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"