summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/CompilerSettings.cmake
blob: bb0af925ceb68b5edaa379107e0bb55bd62c9f01 (plain)
1
2
3
4
5
# Languages and global compiler settings
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp")