Changeset View
Changeset View
Standalone View
Standalone View
src/leveldb/CMakeLists.txt
Show All 10 Lines | |||||
# Remove some warnings for leveldb as they can get noisy. | # Remove some warnings for leveldb as they can get noisy. | ||||
add_compiler_flags( | add_compiler_flags( | ||||
-Wno-implicit-fallthrough | -Wno-implicit-fallthrough | ||||
-Wno-inconsistent-missing-override | -Wno-inconsistent-missing-override | ||||
-Wno-maybe-uninitialized | -Wno-maybe-uninitialized | ||||
-Wno-shadow | -Wno-shadow | ||||
-Wno-sign-compare | -Wno-sign-compare | ||||
-Wno-unused-const-variable | -Wno-unused-const-variable | ||||
-Wno-conditional-uninitialized | |||||
) | ) | ||||
add_c_compiler_flags(-Wno-strict-prototypes) | add_c_compiler_flags(-Wno-strict-prototypes) | ||||
include(CheckIncludeFileCXX) | include(CheckIncludeFileCXX) | ||||
check_include_file_cxx("atomic" LEVELDB_ATOMIC_PRESENT) | check_include_file_cxx("atomic" LEVELDB_ATOMIC_PRESENT) | ||||
include_directories(.) | include_directories(.) | ||||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |