@@ -1650,6 +1650,21 @@ IF(APPLE)
16501650 OPTION (WITH_DEVELOPER_ENTITLEMENTS "Add developer entitlements" OFF )
16511651ENDIF ()
16521652
1653+ # Utility target to build every executable tagged with ADD_TEST.
1654+ ADD_CUSTOM_TARGET (unittest_all)
1655+
1656+ # Utility target to build every target added with MYSQL_ADD_PLUGIN.
1657+ ADD_CUSTOM_TARGET (plugin_all)
1658+
1659+ # Utility target to build every target added with MYSQL_ADD_COMPONENT.
1660+ ADD_CUSTOM_TARGET (component_all)
1661+
1662+ # Utility target to generate all sources from .proto files.
1663+ ADD_CUSTOM_TARGET (protobuf_generated_all)
1664+
1665+ # Utility target to generate everything created by MYSQL_ADD_EXECUTABLE().
1666+ ADD_CUSTOM_TARGET (executable_all)
1667+
16531668# Explicit list of all -DWITH_XXX=system possibilities
16541669# *except* boost, which requires one specific version to be downloaded.
16551670# RapidJSON is also excluded, since the latest released version does not
@@ -2148,21 +2163,6 @@ OPTION(WITH_SHOW_PARSE_TREE
21482163 ${WITH_SHOW_PARSE_TREE_DEFAULT}
21492164 )
21502165
2151- # Utility target to build every executable tagged with ADD_TEST.
2152- ADD_CUSTOM_TARGET (unittest_all)
2153-
2154- # Utility target to build every target added with MYSQL_ADD_PLUGIN.
2155- ADD_CUSTOM_TARGET (plugin_all)
2156-
2157- # Utility target to build every target added with MYSQL_ADD_COMPONENT.
2158- ADD_CUSTOM_TARGET (component_all)
2159-
2160- # Utility target to generate all sources from .proto files.
2161- ADD_CUSTOM_TARGET (protobuf_generated_all)
2162-
2163- # Utility target to generate everything created by MYSQL_ADD_EXECUTABLE().
2164- ADD_CUSTOM_TARGET (executable_all)
2165-
21662166# We may run clang-tidy on individual .h files. Tell clang to treat them as C++.
21672167# To generate entries for header files in compile_commands.json:
21682168# make clang_tidy_prerequisites, see below.
0 commit comments