diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 16:22:55 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 17:09:11 +0200 |
commit | 74368a1df876f84a75a74d67989a02097f3d149b (patch) | |
tree | ea9386537f3c0c48e599b341a626430941299326 /CMakeLists.txt | |
parent | 101d10b88362b5087197c10ff09b96bf1d570ebd (diff) | |
parent | 8988e471b543a45a1d80ec69b001656057f11141 (diff) | |
download | mariadb-git-74368a1df876f84a75a74d67989a02097f3d149b.tar.gz |
Merge branch '10.3' into 10.4
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 e9695abeb33..f81ab458e6d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -543,3 +543,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 mysql_install_db 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() |