2006-12-31 02:29:11 +01:00
|
|
|
# Copyright (C) 2006 MySQL AB
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2007-04-23 16:23:32 -04:00
|
|
|
INCLUDE("${PROJECT_SOURCE_DIR}/win/mysql_manifest.cmake")
|
2006-12-31 02:29:11 +01:00
|
|
|
|
2006-02-08 23:57:30 -06:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DMYSQL_SERVER -DMYSQL_INSTANCE_MANAGER)
|
2006-03-16 16:57:24 +01:00
|
|
|
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/sql
|
|
|
|
${PROJECT_SOURCE_DIR}/extra/yassl/include)
|
2010-07-24 14:17:30 +02:00
|
|
|
|
2006-02-08 23:57:30 -06:00
|
|
|
ADD_EXECUTABLE(mysqlmanager buffer.cc command.cc commands.cc guardian.cc instance.cc instance_map.cc
|
|
|
|
instance_options.cc listener.cc log.cc manager.cc messages.cc mysql_connection.cc
|
|
|
|
mysqlmanager.cc options.cc parse.cc parse_output.cc priv.cc protocol.cc
|
CMakeLists.txt (many), win/README, mysql_manifest.cmake, configure.js:
Additional changes for bug#29903
- Changed to do embedded build part as normal build, when
WITH_EMBEDDED_SERVER is set.
- Allow both normal and debug build with embedded.
- Build static embedded library by pointing out all source and compile
it all, i.e. not building libraries from libraries, not portable.
- Let embedded use generated files from the "sql" directory, added
dependencies to make sure built before embedded.
- Mark library "dbug" in TARGET_LINK_LIBRARIES() with "debug", so only
linked in when debug target is used.
- Removed change of target name with "mysqld${MYSQLD_EXE_SUFFIX}", as
others can't depend on it, not defined at configure time. Instead
set the output file name.
- Created work around for bug in CMake 2.4.6 and output names, to
set the "mysqld<suffix>.pdb" name to the same base name.
- Set the correct manifest "name" (patch by iggy)
CMakeLists.txt:
Changes for embedded and Windows
libmysql/CMakeLists.txt:
Changes for embedded and Windows
libmysqld/CMakeLists.txt:
Changes for embedded and Windows
libmysqld/examples/CMakeLists.txt:
Changes for embedded and Windows
mysys/CMakeLists.txt:
Changes for embedded and Windows
regex/CMakeLists.txt:
Changes for embedded and Windows
server-tools/instance-manager/CMakeLists.txt:
Changes for embedded and Windows
sql/CMakeLists.txt:
Changes for embedded and Windows
storage/archive/CMakeLists.txt:
Changes for embedded and Windows
storage/blackhole/CMakeLists.txt:
Changes for embedded and Windows
storage/csv/CMakeLists.txt:
Changes for embedded and Windows
storage/example/CMakeLists.txt:
Changes for embedded and Windows
storage/federated/CMakeLists.txt:
Changes for embedded and Windows
storage/heap/CMakeLists.txt:
Changes for embedded and Windows
storage/innobase/CMakeLists.txt:
Changes for embedded and Windows
storage/myisam/CMakeLists.txt:
Changes for embedded and Windows
storage/myisammrg/CMakeLists.txt:
Changes for embedded and Windows
strings/CMakeLists.txt:
Changes for embedded and Windows
vio/CMakeLists.txt:
Changes for embedded and Windows
win/README:
Changes for embedded and Windows
win/configure.js:
Changes for embedded and Windows
win/mysql_manifest.cmake:
Changes for embedded and Windows
2007-08-06 23:16:01 +02:00
|
|
|
thread_registry.cc user_map.cc IMService.cpp WindowsService.cpp
|
2007-12-14 10:51:07 +01:00
|
|
|
user_management_commands.cc ../../mysys/my_rnd.c
|
2006-02-08 23:57:30 -06:00
|
|
|
../../sql/net_serv.cc ../../sql-common/pack.c ../../sql/password.c
|
|
|
|
../../sql/sql_state.c ../../sql-common/client.c ../../libmysql/get_password.c
|
2010-04-02 11:20:09 +02:00
|
|
|
../../libmysql/errmsg.c ../../sql-common/client_plugin.c)
|
2006-02-08 23:57:30 -06:00
|
|
|
|
2006-03-16 15:42:48 +01:00
|
|
|
ADD_DEPENDENCIES(mysqlmanager GenError)
|
2007-08-03 21:51:37 +02:00
|
|
|
TARGET_LINK_LIBRARIES(mysqlmanager debug dbug mysys strings taocrypt vio yassl zlib wsock32)
|
2007-04-23 16:23:32 -04:00
|
|
|
|
|
|
|
IF(EMBED_MANIFESTS)
|
|
|
|
MYSQL_EMBED_MANIFEST("mysqlmanager" "asInvoker")
|
|
|
|
ENDIF(EMBED_MANIFESTS)
|