mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Add embedded server build to the CMake build files.
cmakelists.txt: Move configure processing to top-level cmakelists.txt so that it can be shared by mysqld and libmysqld. libmysqld/lib_sql.cc: Temporary #ifdef to allow building from both bitkeeper sources and windows source package. libmysqld/libmysqld.def: Add export missing for test_libmysqld sql/cmakelists.txt: Move configure processing to top-level cmakelists.txt so that it can be shared by mysqld and libmysqld. sql/mysqld.cc: #ifdef out code that is not used, nor compiles, in embedded server. strings/cmakelists.txt: Add some missing sources to fix embedded server build.
This commit is contained in:
@@ -28,7 +28,7 @@ extern "C"
|
||||
extern unsigned long max_allowed_packet, net_buffer_length;
|
||||
}
|
||||
|
||||
#if defined (__WIN__)
|
||||
#if defined(__WIN__) && !defined(USING_CMAKE)
|
||||
#include "../sql/mysqld.cpp"
|
||||
#else
|
||||
#include "../sql/mysqld.cc"
|
||||
|
Reference in New Issue
Block a user