kappachat/cmake/GlobalOptions.cmake

4 lines
191 B
CMake
Raw Normal View History

add_compile_options($<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:AppleClang>,$<C_COMPILER_ID:GNU>>:-Wall -Wextra>)
set(CMAKE_CXX_STANDARD 20)
#set(CMAKE_CXX_CLANG_TIDY clang-tidy --config=)