Update compiler build settings for CMake (#224)
This commit is contained in:
Родитель
4718a55b5c
Коммит
200f0a67d2
|
@ -66,6 +66,10 @@ elseif(NOT (${DIRECTX_ARCH} MATCHES "^arm"))
|
|||
set(ARCH_SSE2 $<$<NOT:$<CXX_COMPILER_ID:MSVC,Intel>>:-msse2>)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
list(APPEND ARCH_SSE2 -mfpmath=sse)
|
||||
endif()
|
||||
|
||||
list(APPEND COMPILER_SWITCHES ${ARCH_SSE2})
|
||||
endif()
|
||||
|
||||
|
|
|
@ -13,22 +13,21 @@ schedules:
|
|||
- main
|
||||
|
||||
trigger: none
|
||||
pr: none
|
||||
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
include:
|
||||
- build/DirectXTK12-GitHub-Dev17.yml
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: self
|
||||
type: git
|
||||
ref: refs/heads/main
|
||||
trigger:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
exclude:
|
||||
- README.md
|
||||
- HISTORY.md
|
||||
- SECURITY.md
|
||||
trigger: none
|
||||
|
||||
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
||||
|
||||
|
|
|
@ -13,7 +13,14 @@ schedules:
|
|||
- main
|
||||
|
||||
trigger: none
|
||||
pr: none
|
||||
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
include:
|
||||
- build/DirectXTK12-GitHub-GDK-Dev17.yml
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
|
|
|
@ -13,13 +13,21 @@ schedules:
|
|||
- main
|
||||
|
||||
trigger: none
|
||||
pr: none
|
||||
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
include:
|
||||
- build/DirectXTK12-GitHub-Test-Dev17.yml
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: self
|
||||
type: git
|
||||
ref: refs/heads/main
|
||||
trigger: none
|
||||
|
||||
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче