summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <reggie@big_geek.>2006-02-08 23:57:30 -0600
committerunknown <reggie@big_geek.>2006-02-08 23:57:30 -0600
commit63f544961a37aa32e0caa193e34a135083fddd6b (patch)
treea7382e0e63d22770cd46d80dbda2924543635df7
parent033b29eee0cad528c890cfa53246f6d7f04b5189 (diff)
downloadmariadb-git-63f544961a37aa32e0caa193e34a135083fddd6b.tar.gz
added cmake file for instance manager
win/cmakefiles/im: New BitKeeper file ``win/cmakefiles/im''
-rw-r--r--win/cmakefiles/base2
-rw-r--r--win/cmakefiles/deploy.bat2
-rw-r--r--win/cmakefiles/im16
3 files changed, 18 insertions, 2 deletions
diff --git a/win/cmakefiles/base b/win/cmakefiles/base
index f8ac9969a26..4430ac0ec46 100644
--- a/win/cmakefiles/base
+++ b/win/cmakefiles/base
@@ -32,4 +32,4 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7" OR CMAKE_GENERATOR MATCHES "Visu
ADD_DEFINITIONS("-D_WINDOWS -D__WIN__")
SUBDIRS(vio dbug strings regex mysys extra zlib storage/innobase storage/heap storage/myisam storage/myisammrg
- extra/yassl extra/yassl/taocrypt client sql)
+ extra/yassl extra/yassl/taocrypt client sql server-tools/instance-manager)
diff --git a/win/cmakefiles/deploy.bat b/win/cmakefiles/deploy.bat
index 52a921a7188..cb55b8cdb12 100644
--- a/win/cmakefiles/deploy.bat
+++ b/win/cmakefiles/deploy.bat
@@ -16,4 +16,4 @@ copy heap ..\..\storage\heap\cmakelists.txt
copy innobase ..\..\storage\innobase\cmakelists.txt
copy myisam ..\..\storage\myisam\cmakelists.txt
copy myisammrg ..\..\storage\myisammrg\cmakelists.txt
-
+copy im ..\..\server-tools\instance-manager\cmakelists.txt
diff --git a/win/cmakefiles/im b/win/cmakefiles/im
new file mode 100644
index 00000000000..32f243b43d9
--- /dev/null
+++ b/win/cmakefiles/im
@@ -0,0 +1,16 @@
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
+SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
+
+ADD_DEFINITIONS(-DMYSQL_SERVER -DMYSQL_INSTANCE_MANAGER)
+INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/sql)
+
+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
+ thread_registry.cc user_map.cc imservice.cpp windowsservice.cpp
+ ../../sql/net_serv.cc ../../sql-common/pack.c ../../sql/password.c
+ ../../sql/sql_state.c ../../sql-common/client.c ../../libmysql/get_password.c
+ ../../libmysql/errmsg.c)
+
+ADD_DEPENDENCIES(mysqlmanager GenError)
+TARGET_LINK_LIBRARIES(mysqlmanager dbug mysys strings taocrypt vio yassl zlib wsock32)