summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/cmake/strict/clangxx_strict.cmake
blob: 3533c55cdb181e649a2bbe075fe09481144f8c5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Public Domain 2014-present MongoDB, Inc.
# Public Domain 2008-2014 WiredTiger, Inc.
#  All rights reserved.
#
# See the file LICENSE for redistribution information.
#

include(cmake/strict/strict_flags_helpers.cmake)

# Get common CLANG flags.
set(clangxx_flags)
get_clang_base_flags(clangxx_flags CXX)

# Specific CXX flags:

# Set our common compiler flags that can be used by the rest of our build.
set(COMPILER_DIAGNOSTIC_CXX_FLAGS ${clangxx_flags})