summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-03-16 20:52:17 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-03-16 20:52:17 +0100
commit49d6568aaebd96261afe386f49f142def45a453e (patch)
tree9a3651a9c640eff4821a48f526209e9755f19105 /plugin
parentc5e1fb6720fd12ec89ead4a7344e7cf2a96578e8 (diff)
downloadmariadb-git-49d6568aaebd96261afe386f49f142def45a453e.tar.gz
Reduce size of windows MSI by approx. 50%
- Mark test components, plugins etc with COMPONENT Test, to get them excluded from the MSI - Only include debug symbols for client and embedded libs and also mysqld.exe and server plugins (so we can still can get a callstack in case of crash) The rest (all *.pdbs, test components, MTR) can be obtained from the big ZIP distribution, if required.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/audit_null/CMakeLists.txt2
-rw-r--r--plugin/auth_examples/CMakeLists.txt12
-rw-r--r--plugin/daemon_example/CMakeLists.txt4
-rw-r--r--plugin/fulltext/CMakeLists.txt2
-rw-r--r--plugin/win_auth_client/CMakeLists.txt2
5 files changed, 11 insertions, 11 deletions
diff --git a/plugin/audit_null/CMakeLists.txt b/plugin/audit_null/CMakeLists.txt
index b88c4922f60..e87fc2a85f5 100644
--- a/plugin/audit_null/CMakeLists.txt
+++ b/plugin/audit_null/CMakeLists.txt
@@ -14,4 +14,4 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
MYSQL_ADD_PLUGIN(audit_null audit_null.c
- MODULE_ONLY MODULE_OUTPUT_NAME "adt_null")
+ MODULE_ONLY MODULE_OUTPUT_NAME "adt_null" COMPONENT Test)
diff --git a/plugin/auth_examples/CMakeLists.txt b/plugin/auth_examples/CMakeLists.txt
index 0c9fb32b77a..fb27289770f 100644
--- a/plugin/auth_examples/CMakeLists.txt
+++ b/plugin/auth_examples/CMakeLists.txt
@@ -15,17 +15,17 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
MYSQL_ADD_PLUGIN(dialog_examples dialog_examples.c
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT Test)
MYSQL_ADD_PLUGIN(auth_test_plugin test_plugin.c
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT Test)
MYSQL_ADD_PLUGIN(qa_auth_interface qa_auth_interface.c
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT Test)
MYSQL_ADD_PLUGIN(qa_auth_server qa_auth_server.c
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT Test)
MYSQL_ADD_PLUGIN(qa_auth_client qa_auth_client.c
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT Test)
MYSQL_ADD_PLUGIN(mysql_clear_password clear_password_client.c
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT SharedLibraries)
diff --git a/plugin/daemon_example/CMakeLists.txt b/plugin/daemon_example/CMakeLists.txt
index 1623c3025d7..06c39af4bdd 100644
--- a/plugin/daemon_example/CMakeLists.txt
+++ b/plugin/daemon_example/CMakeLists.txt
@@ -14,6 +14,6 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
MYSQL_ADD_PLUGIN(daemon_example daemon_example.cc
- MODULE_ONLY MODULE_OUTPUT_NAME "libdaemon_example")
+ MODULE_ONLY MODULE_OUTPUT_NAME "libdaemon_example" COMPONENT Test)
-INSTALL(FILES daemon_example.ini DESTINATION ${INSTALL_PLUGINDIR})
+INSTALL(FILES daemon_example.ini DESTINATION ${INSTALL_PLUGINDIR} COMPONENT Test)
diff --git a/plugin/fulltext/CMakeLists.txt b/plugin/fulltext/CMakeLists.txt
index 305ae7fe143..b65fcba0449 100644
--- a/plugin/fulltext/CMakeLists.txt
+++ b/plugin/fulltext/CMakeLists.txt
@@ -14,4 +14,4 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
MYSQL_ADD_PLUGIN(ftexample plugin_example.c
- MODULE_ONLY MODULE_OUTPUT_NAME "mypluglib")
+ MODULE_ONLY MODULE_OUTPUT_NAME "mypluglib" COMPONENT Test)
diff --git a/plugin/win_auth_client/CMakeLists.txt b/plugin/win_auth_client/CMakeLists.txt
index 1e65673adbd..a24f6b267f6 100644
--- a/plugin/win_auth_client/CMakeLists.txt
+++ b/plugin/win_auth_client/CMakeLists.txt
@@ -29,6 +29,6 @@ IF(WIN32)
MYSQL_ADD_PLUGIN(authentication_windows_client ${PLUGIN_SOURCES} ${HEADERS}
LINK_LIBRARIES Secur32
- MODULE_ONLY)
+ MODULE_ONLY COMPONENT SharedLibraries)
ENDIF(WIN32)