Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .azuredevops/policies/branchClassification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: branch_classification
description: Branch classification configuration for repository
resource: repository
disabled: false
where:
configuration:
branchClassificationSettings:
defaultClassification: nonproduction
ruleset:
- name: prod-branches
branchNames:
- main
- ms_1.4.4_release
- release
classification: production
3 changes: 2 additions & 1 deletion build/CompilerAndLinker.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ endif()
#--- General MSVC-like SDL options
if(MSVC)
list(APPEND COMPILER_SWITCHES /Gd /GS /Zc:forScope /Zc:inline /Zc:wchar_t $<$<NOT:$<CONFIG:DEBUG>>:/guard:cf>)
list(APPEND LINKER_SWITCHES /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO)
list(APPEND LINKER_SWITCHES /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO $<$<CONFIG:RELWITHDEBINFO>:/OPT:REF,ICF>)

if(WINDOWS_STORE)
list(APPEND COMPILER_SWITCHES /bigobj)
Expand Down Expand Up @@ -131,6 +131,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
list(APPEND COMPILER_SWITCHES /Zc:__cplusplus /Zc:inline /fp:fast /Qdiag-disable:161)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
list(APPEND COMPILER_SWITCHES /sdl /fp:fast)
list(APPEND LINKER_SWITCHES $<$<CONFIG:RELWITHDEBINFO>:/DEBUG:FULL /DEBUGTYPE:CV,FIXUP /OPT:REF,ICF>)

if(WINDOWS_STORE)
list(APPEND COMPILER_SWITCHES /await)
Expand Down
Loading