From 2dcc69e692f5b0750861b80965973baef06796cc Mon Sep 17 00:00:00 2001 From: Robear Selwans Date: Mon, 7 Jul 2025 16:36:20 +0300 Subject: [PATCH] Updated meson native files Signed-off-by: Robear Selwans --- build_options/meson-clang-linux | 11 +++++++++++ build_options/meson-clang-win | 11 +++++++++++ meson-native-clang | 4 ---- 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 build_options/meson-clang-linux create mode 100644 build_options/meson-clang-win delete mode 100644 meson-native-clang diff --git a/build_options/meson-clang-linux b/build_options/meson-clang-linux new file mode 100644 index 0000000..9ad442e --- /dev/null +++ b/build_options/meson-clang-linux @@ -0,0 +1,11 @@ +[binaries] +c = 'clang-19' +c_ld = 'lld-19' +cpp = 'clang++-19' +cpp_ld = 'lld-19' + +[properties] +c_args = ['-DEV_CC_CLANG=1','-fcolor-diagnostics', '-fansi-escape-codes', '-fms-extensions'] + +[cmake] +CMAKE_C_COMPILER = 'clang-19' diff --git a/build_options/meson-clang-win b/build_options/meson-clang-win new file mode 100644 index 0000000..2840a22 --- /dev/null +++ b/build_options/meson-clang-win @@ -0,0 +1,11 @@ +[binaries] +c = 'clang.exe' +c_ld = 'lld' +cpp = 'clang++.exe' +cpp_ld = 'lld' + +[properties] +c_args = ['-DEV_CC_CLANG=1','-fcolor-diagnostics', '-fansi-escape-codes'] + +[cmake] +CMAKE_C_COMPILER = 'clang.exe' diff --git a/meson-native-clang b/meson-native-clang deleted file mode 100644 index 595c3cb..0000000 --- a/meson-native-clang +++ /dev/null @@ -1,4 +0,0 @@ -[binaries] -c = 'clang.exe' -c_ld = 'lld' -cpp = 'clang++.exe'