summaryrefslogtreecommitdiff
path: root/libmysqld/examples
diff options
context:
space:
mode:
authorknielsen@mysql.com <>2006-04-03 10:28:53 +0200
committerknielsen@mysql.com <>2006-04-03 10:28:53 +0200
commit8a78628f0aeedd20e99049ca3c5dcdce8e703758 (patch)
treecfd16cde5045117d6531a2e7995773ef442173fe /libmysqld/examples
parent8e7907c36e3c8693e658b858b52ea6eed37141c2 (diff)
downloadmariadb-git-8a78628f0aeedd20e99049ca3c5dcdce8e703758.tar.gz
Missing file in last commit.
Diffstat (limited to 'libmysqld/examples')
-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)