mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 03:43:15 +08:00
0beb0d1c72
* feat: working cross-compilation * feat: CI for Cross-compilation * fix: non-reproducible builds are failing when cross-compiling * fix: update ImGui Fixed compilation under some MinGW versions. * feat: Add .clangd configuration for C and C++ compilers * fix: link correct d3dcompiler library conditionally * fix: usage of deprecated `FetchContent` function in CMake * chore: denote difference in CI artifacts
67 lines
927 B
YAML
67 lines
927 B
YAML
# Use `zig cc` as the compiler for C files
|
|
If:
|
|
PathMatch: [
|
|
.*\.c,
|
|
.*\.h,
|
|
]
|
|
CompileFlags:
|
|
Compiler: zig cc
|
|
---
|
|
# Use `clang` as the compiler for C files
|
|
If:
|
|
PathMatch: [
|
|
.*\.c,
|
|
.*\.h,
|
|
]
|
|
CompileFlags:
|
|
Compiler: clang
|
|
---
|
|
# Use `zig c++` as the compiler for C++ files
|
|
If:
|
|
PathMatch: [
|
|
.*\.cpp,
|
|
.*\.c\+\+,
|
|
.*\.cc,
|
|
.*\.cp,
|
|
.*\.cppm,
|
|
.*\.cxx,
|
|
.*\.h\+\+,
|
|
.*\.hh,
|
|
.*\.hpp,
|
|
.*\.hxx,
|
|
.*\.inc,
|
|
.*\.inl,
|
|
.*\.ino,
|
|
.*\.ipp,
|
|
.*\.ixx,
|
|
.*\.re,
|
|
.*\.tcc,
|
|
.*\.tpp,
|
|
]
|
|
CompileFlags:
|
|
Compiler: zig c++
|
|
---
|
|
# Use `clang++` as the compiler for C++ files
|
|
If:
|
|
PathMatch: [
|
|
.*\.cpp,
|
|
.*\.c\+\+,
|
|
.*\.cc,
|
|
.*\.cp,
|
|
.*\.cppm,
|
|
.*\.cxx,
|
|
.*\.h\+\+,
|
|
.*\.hh,
|
|
.*\.hpp,
|
|
.*\.hxx,
|
|
.*\.inc,
|
|
.*\.inl,
|
|
.*\.ino,
|
|
.*\.ipp,
|
|
.*\.ixx,
|
|
.*\.re,
|
|
.*\.tcc,
|
|
.*\.tpp,
|
|
]
|
|
CompileFlags:
|
|
Compiler: clang++ |