Skip to content

Commit

Permalink
[cmake] Add compiler warnings for IntelLLVM (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoemi09 authored Aug 21, 2023
1 parent ad85827 commit bce67a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ target_compile_options(${PROJECT_NAME}_warnings
$<$<CXX_COMPILER_ID:GNU>:-Wno-comma-subscript>
$<$<CXX_COMPILER_ID:GNU>:-Wshadow=local>
$<$<CXX_COMPILER_ID:GNU>:-Wno-attributes>
$<$<CXX_COMPILER_ID:Clang>:-Wno-deprecated-comma-subscript>
$<$<CXX_COMPILER_ID:Clang>:-Wno-unknown-warning-option>
$<$<CXX_COMPILER_ID:Clang>:-Wshadow>
$<$<CXX_COMPILER_ID:Clang>:-Wno-gcc-compat>
$<$<CXX_COMPILER_ID:Clang>:-Wno-c++20-extensions>
$<$<CXX_COMPILER_ID:Clang>:-Wno-c++20-compat>
$<$<CXX_COMPILER_ID:Clang,IntelLLVM>:-Wno-deprecated-comma-subscript>
$<$<CXX_COMPILER_ID:Clang,IntelLLVM>:-Wno-unknown-warning-option>
$<$<CXX_COMPILER_ID:Clang,IntelLLVM>:-Wshadow>
$<$<CXX_COMPILER_ID:Clang,IntelLLVM>:-Wno-gcc-compat>
$<$<CXX_COMPILER_ID:Clang,IntelLLVM>:-Wno-c++20-extensions>
$<$<CXX_COMPILER_ID:Clang,IntelLLVM>:-Wno-c++20-compat>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-deprecated-comma-subscript>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unknown-warning-option>
$<$<CXX_COMPILER_ID:AppleClang>:-Wshadow>
Expand Down

0 comments on commit bce67a4

Please sign in to comment.