mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-24 08:01:13 +08:00
tmp
This commit is contained in:
parent
44d25564ee
commit
2270fe628f
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -23,11 +23,13 @@ jobs:
|
||||
- os: ubuntu-latest
|
||||
compiler: llvm
|
||||
|
||||
- os: macos-latest
|
||||
compiler: llvm
|
||||
# Failing
|
||||
#- os: macos-latest
|
||||
#compiler: llvm
|
||||
|
||||
- os: macos-latest
|
||||
compiler: gcc
|
||||
# Failing
|
||||
#- os: macos-latest
|
||||
#compiler: gcc
|
||||
|
||||
- os: windows-latest
|
||||
compiler: cl
|
||||
|
@ -21,19 +21,22 @@ def cpp20():
|
||||
})
|
||||
|
||||
def msvc_copts():
|
||||
MSVC_COPTS = [
|
||||
# Force Microsoft Visual Studio to decode sources files in UTF-8.
|
||||
"/utf-8",
|
||||
|
||||
# Force Microsoft Visual Studio to interpret the source files as
|
||||
# Unicode.
|
||||
"/DUNICODE",
|
||||
"/D_UNICODE",
|
||||
|
||||
# Fallback for Microsoft Terminal.
|
||||
"/DFTXUI_MICROSOFT_TERMINAL_FALLBACK",
|
||||
]
|
||||
|
||||
return select({
|
||||
"@rules_cc//cc/compiler:msvc-cl": [
|
||||
# Force Microsoft Visual Studio to decode sources files in UTF-8.
|
||||
"/utf-8",
|
||||
|
||||
# Force Microsoft Visual Studio to interpret the source files as
|
||||
# Unicode.
|
||||
"/DUNICODE",
|
||||
"/D_UNICODE",
|
||||
|
||||
# Fallback for Microsoft Terminal.
|
||||
"/DFTXUI_MICROSOFT_TERMINAL_FALLBACK",
|
||||
],
|
||||
"@rules_cc//cc/compiler:msvc-cl": MSVC_COPTS,
|
||||
"@rules_cc//cc/compiler:clang-cl": MSVC_COPTS,
|
||||
"//conditions:default": [],
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user