Skip to content

Commit

Permalink
Define minbuild target for 10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Sep 11, 2021
1 parent 7e6b033 commit 879e21b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions CMakeLists.txt
Expand Up @@ -523,3 +523,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()

0 comments on commit 879e21b

Please sign in to comment.