summaryrefslogtreecommitdiff
path: root/storage/example
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-03-23 16:34:52 +0100
committerunknown <knielsen@mysql.com>2006-03-23 16:34:52 +0100
commitf19b2c0a000ddec74a0cc673f94a7b3a3118c27b (patch)
tree468e4f62dd1d5957ac25e9aac949adb6580182e1 /storage/example
parente29144b4b5bedd1239c0045f73316a42eda1521d (diff)
downloadmariadb-git-f19b2c0a000ddec74a0cc673f94a7b3a3118c27b.tar.gz
Updated CMake stuff to handle the configurations needed for release
builds. cmakelists.txt: Get the correct options for storage engines and defines from config-version.js. mysys/cmakelists.txt: Set USE_TLS only for release builds, as it crashes in debug builds. sql/cmakelists.txt: Fix build options to only include the configured storage engines. sql/mysqld.cc: Fix dummy innodb declarations, otherwise non-innodb build fails. storage/bdb/cmakelists.txt: Create cmakelists.txt for BDB. win/README: Update with new configure.js options. win/config-handlerton.js: Extend with more storage engines. win/config-version.js: Extend to handle storage engines and other configuration parameters.
Diffstat (limited to 'storage/example')
-rw-r--r--storage/example/cmakelists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/example/cmakelists.txt b/storage/example/cmakelists.txt
new file mode 100644
index 00000000000..f4579aa0c66
--- /dev/null
+++ b/storage/example/cmakelists.txt
@@ -0,0 +1,6 @@
+SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
+SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
+
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/sql
+ ${CMAKE_SOURCE_DIR}/extra/yassl/include)
+ADD_LIBRARY(example ha_example.cc)