summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-04-03 10:28:53 +0200
committerunknown <knielsen@mysql.com>2006-04-03 10:28:53 +0200
commitb7fe88976aed6509eaa1c4eade0778a96464941e (patch)
treecfd16cde5045117d6531a2e7995773ef442173fe /libmysqld
parent32afa3457a0eca78a5edae715bb7b11864aab645 (diff)
downloadmariadb-git-b7fe88976aed6509eaa1c4eade0778a96464941e.tar.gz
Missing file in last commit.
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/examples/cmakelists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/libmysqld/examples/cmakelists.txt b/libmysqld/examples/cmakelists.txt
new file mode 100644
index 00000000000..5c58264a7e7
--- /dev/null
+++ b/libmysqld/examples/cmakelists.txt
@@ -0,0 +1,11 @@
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
+ ${CMAKE_SOURCE_DIR}/libmysqld/include
+ ${CMAKE_SOURCE_DIR}/extra/yassl/include)
+
+# Currently does not work with DBUG, there are missing symbols reported.
+ADD_DEFINITIONS(-DDBUG_OFF)
+ADD_EXECUTABLE(test_libmysqld ../../client/completion_hash.cc
+ ../../client/mysql.cc ../../client/readline.cc
+ ../../client/sql_string.cc)
+TARGET_LINK_LIBRARIES(test_libmysqld yassl taocrypt zlib wsock32)
+ADD_DEPENDENCIES(test_libmysqld libmysqld)