diff options
author | Sven Gothel <[email protected]> | 2022-12-30 16:11:32 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-12-30 16:11:32 +0100 |
commit | 98a704f13d96d0bd189201de7b5139a19cb18e99 (patch) | |
tree | f9586250ab2c1f48047353b40008e69f037a988c /scripts/build.sh | |
parent | 746d34adb3b1b13bca8efa27a881dc9c673b9193 (diff) |
Add C++20 support, use Eclipse via cmake prepare and external make, mention clang-tidy and VSCodium and IDE integration
To pass C++17/C++20 via clang-tidy, botan is build as a static library upfront
w/o detailed warnings (for now).
Diffstat (limited to 'scripts/build.sh')
-rw-r--r-- | scripts/build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 2d7686c..ace72f4 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -39,6 +39,7 @@ buildit() { mkdir -p $build_dir cd $build_dir # CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++" + # CLANG_ARGS="-DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy;-p;$rootdir/$build_dir" # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DUSE_LIBUNWIND=ON .. # cmake $CLANG_ARGS -DCMAKE_INSTALL_PREFIX=$rootdir/$dist_dir -DBUILDJAVA=ON -DBUILDEXAMPLES=ON -DBUILD_TESTING=ON -DTEST_WITH_SUDO=ON .. |