code refactor
This commit is contained in:
@@ -34,7 +34,7 @@ cmake/
|
||||
- **Profile**: Special build for performance profiling
|
||||
|
||||
### Compiler Support
|
||||
- **GCC 9+**: Primary compiler with full C++17 support
|
||||
- **GCC 9+**: Primary compiler with full C++20 support
|
||||
- **Clang 10+**: Alternative compiler with excellent diagnostics
|
||||
- **MSVC 2019+**: Windows support with Visual Studio
|
||||
- **Cross-compilation**: Support for different target architectures
|
||||
|
||||
@@ -6,7 +6,7 @@ function(set_project_warnings)
|
||||
add_compile_options(
|
||||
/W4
|
||||
/permissive-
|
||||
/std:c++20 # Explicitly enable C++17 standard
|
||||
/std:c++20 # Explicitly enable C++20 standard
|
||||
$<$<BOOL:${WARNINGS_AS_ERRORS}>:/WX>
|
||||
# Disable specific warnings that are too strict
|
||||
/wd4244 # conversion from 'int' to 'char', possible loss of data
|
||||
|
||||
Reference in New Issue
Block a user