~jan-kneschke/mysql-proxy/packet-tracking-assertions

« back to all changes in this revision

Viewing changes to plugins/cli/CMakeLists.txt

  • Committer: Kay Roepke
  • Author(s): Jan Kneschke
  • Date: 2008-01-23 22:00:28 UTC
  • Revision ID: kay@mysql.com-20080123220028-hq2xqb69apa75fnx
first round on mysql-shell based on the proxy code

this is mostly a verification if the proxy-code is flexible enough to handle 
all three scenarios of: client, server and forwarding (proxy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/)
2
 
INCLUDE_DIRECTORIES(${PROJECT_BINARY_DIR}) # for config.h
3
 
 
4
 
INCLUDE_DIRECTORIES(${GLIB_INCLUDE_DIRS})
5
 
INCLUDE_DIRECTORIES(${MYSQL_INCLUDE_DIRS})
6
 
INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIRS})
7
 
INCLUDE_DIRECTORIES(${EVENT_INCLUDE_DIRS})
8
 
 
9
 
LINK_DIRECTORIES(${LUA_LIBRARY_DIRS})
10
 
LINK_DIRECTORIES(${GLIB_LIBRARY_DIRS})
11
 
 
12
 
SET(_plugin_name cli)
13
 
ADD_LIBRARY(${_plugin_name} SHARED "${_plugin_name}-plugin.c")
14
 
TARGET_LINK_LIBRARIES(${_plugin_name} mysql-chassis-proxy) 
15
 
CHASSIS_PLUGIN_INSTALL(${_plugin_name})
16