- Open cmd with admin rights:
- Press Win+R
- Type "cmd" (without quotes)
- Press Ctrl+Shift+Enter
- Install chocolatey package manager (reference: https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe):
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # C/C++ flags for GCC/Clang/MSVC | |
| # Debug: disabled optimization, warnings, sanitizers | |
| # Release: max optimization and LTO, warnings disabled | |
| if(MSVC) | |
| add_compile_options( | |
| $<$<CONFIG:Debug>:/Od> | |
| $<$<CONFIG:Debug>:/Zi> | |
| $<$<CONFIG:Debug>:/fsanitize=address> | |
| $<$<CONFIG:Release>:/w> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| Language: Cpp | |
| # BasedOnStyle: Mozilla | |
| AccessModifierOffset: -2 | |
| AlignAfterOpenBracket: AlwaysBreak | |
| AlignArrayOfStructures: None | |
| AlignConsecutiveAssignments: | |
| Enabled: false | |
| AcrossEmptyLines: false | |
| AcrossComments: false |