From e73bd60d04d03029540bc2a83c63535b4e585d16 Mon Sep 17 00:00:00 2001 From: Dominik Charousset Date: Sat, 21 Sep 2019 11:49:18 +0200 Subject: [PATCH] Add --build-dir as alias for --builddir This alias makes it easier for tooling that deals with both Zeek and Broker (which uses `--build-dir`). Also, it's one less quirk to remember when working with both repositories. --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index e34be69e4e..b40fb9fd3d 100755 --- a/configure +++ b/configure @@ -18,6 +18,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]... Build Options: --builddir=DIR place build files in directory [build] + --build-dir=DIR alias for --builddir --build-type=TYPE set CMake build type [RelWithDebInfo]: - Debug: optimizations off, debug symbols + flags - MinSizeRel: size optimizations, debugging off @@ -171,6 +172,9 @@ while [ $# -ne 0 ]; do --builddir=*) builddir=$optarg ;; + --build-dir=*) + builddir=$optarg + ;; --build-type=*) append_cache_entry CMAKE_BUILD_TYPE STRING $optarg