diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 16:40:08 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 16:40:08 +0200 |
commit | c3341f84404c67ab70faed1ec28fcb4e900ccfdd (patch) | |
tree | 49f93814f442692027d1e16c7926aa3660fa7613 /CMakeLists.txt | |
parent | 40b743f99e8ca5ac479e8c559f8316b606033582 (diff) | |
parent | c7a721ee3310870e1cbc05ea26ee60174c3d9b1c (diff) | |
download | mariadb-git-c3341f84404c67ab70faed1ec28fcb4e900ccfdd.tar.gz |
Merge branch '10.4' into 10.5
# Conflicts:
# appveyor.yml
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 18fca0d8635..1a54015b2dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -565,3 +565,40 @@ IF(NON_DISTRIBUTABLE_WARNING) MESSAGE(WARNING " You have linked MariaDB with ${NON_DISTRIBUTABLE_WARNING} libraries! You may not distribute the resulting binary. If you do, you will put yourself into a legal problem with the Free Software Foundation.") ENDIF() + +IF(NOT WITHOUT_SERVER) + # Define target for minimal mtr-testable build + ADD_CUSTOM_TARGET(minbuild) + ADD_DEPENDENCIES(minbuild + aria_chk + aria_pack + mysql + mysqladmin + mysqlbinlog + mysqlcheck + mysql_client_test + mysqldump + mysqlimport + mysql_plugin + mysqlshow + mysqlslap + mysqltest + mysql_tzinfo_to_sql + mysql_upgrade + mysqld + my_print_defaults + my_safe_process + myisam_ftdump + myisamchk + myisamlog + myisampack + perror + replace) + IF(WIN32) + ADD_DEPENDENCIES(minbuild echo my_safe_kill) + ENDIF() + ADD_CUSTOM_TARGET(smoketest + COMMAND perl ./mysql-test-run.pl main.1st + WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/mysql-test) + ADD_DEPENDENCIES(smoketest minbuild) +ENDIF() |