Clang: Refactor CXX standard flags into __compiler_clang_cxx_standards()
These standard flags are the same for CXX, OBJCXX and CUDA. Refactor them into a single macro to reduce duplication and so we can easily reuse them. Updated bootstrap script to search in the general Clang module instead of the language-specific.
Showing
- Modules/Compiler/Clang-CXX.cmake 1 addition, 118 deletionsModules/Compiler/Clang-CXX.cmake
- Modules/Compiler/Clang-OBJCXX.cmake 1 addition, 68 deletionsModules/Compiler/Clang-OBJCXX.cmake
- Modules/Compiler/Clang.cmake 120 additions, 0 deletionsModules/Compiler/Clang.cmake
- bootstrap 10 additions, 2 deletionsbootstrap
Loading
Please register or sign in to comment