From 8287cdb2ff49ecbcf422eaa581a99132451518ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Botond=20D=C3=A9nes?= Date: Fri, 16 Apr 2021 16:19:50 +0300 Subject: [PATCH] scripts/build-help.sh: extend help text with more targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mention executables (scylla, tools and tests) as well as how to build individual object files and how to verify individual headers. Also mention the not-at-all obvious trick of how to build tests with debug symbols. Signed-off-by: Botond Dénes Message-Id: <20210416131950.175413-1-bdenes@scylladb.com> --- scripts/build-help.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/build-help.sh b/scripts/build-help.sh index 2c97e59a91..0913da50a7 100755 --- a/scripts/build-help.sh +++ b/scripts/build-help.sh @@ -8,11 +8,31 @@ Run \`ninja -h\` for help on supported options. Build targets: build Build artifacts for all configured build modes. -build Build artifacts for a specific build mode. + -headers Verify that all headers in given mode are self-sufficient. + + build//scylla + Build scylla executable in given mode. + + build//tools/scylla-sstable-index + build//tools/scylla-types + Build tool executables in given mode. + + build///file.o + Build object file from /file.cc. + + build///file.hh.o + Verify that /file.hh is self sufficient. Test targets: test Run tests for all configured build modes. -test Run tests for a specific build mode. + build//test//test_executable + Build test executable in given mode. + + build//test//test_executable_g + Build test executable with debug symbols in given mode. + Packaging targets: dist Build distribution packages (.rpm, .deb) for all build modes. -dist Build distribution packages (.rpm, .deb) for a specific build mode.