CrucibleConfigureLanguageStandards.cmake
1
2
3
4
5
6
7
8
9
include_guard(GLOBAL) function(crucible_configure_language_standards) cmake_parse_arguments(STANDARD "" "CXX" "" ${ARGN}) set(CMAKE_CXX_STANDARD "${STANDARD_CXX}" CACHE INTERNAL "") set(CMAKE_CXX_STANDARD_REQUIRED ON CACHE INTERNAL "") set(CMAKE_CXX_EXTENSIONS OFF CACHE INTERNAL "") endfunction()