diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 16:22:55 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-09-11 16:22:55 +0200 |
commit | c7a721ee3310870e1cbc05ea26ee60174c3d9b1c (patch) | |
tree | 5ce596e6b27ccd8b819fcdf89d0a315363c67fd5 /CMakeLists.txt | |
parent | 101d10b88362b5087197c10ff09b96bf1d570ebd (diff) | |
parent | 8988e471b543a45a1d80ec69b001656057f11141 (diff) | |
download | mariadb-git-c7a721ee3310870e1cbc05ea26ee60174c3d9b1c.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..93ec4f67f49 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 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() |