diff options
| author | ruki <[email protected]> | 2024-07-13 16:26:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-13 16:26:28 +0800 |
| commit | 73074a7c21280622b49dc34f73fb0412fa8eb04e (patch) | |
| tree | 0e1ab02c4e55454860b6f6e1ba817156be93f0ec /xmake/rules/c++/modules/modules_support | |
| parent | f717e96b355350712b4eb726fd27cfb698fee4a6 (diff) | |
| parent | 6171636d753ac7417e6550977cabb264d3ec1656 (diff) | |
Merge pull request #5341 from Arthapz/add-proper-warning-for-std-module-detection
add proper warning for std module detection
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang/compiler_support.lua | 1 | ||||
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc/compiler_support.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua index 7bb0ac97d..376438045 100644 --- a/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua +++ b/xmake/rules/c++/modules/modules_support/clang/compiler_support.lua @@ -300,6 +300,7 @@ function get_stdmodules(target) end end end + wprint("std and std.compat modules not found ! disabling them for the build, maybe try to add --sdk=<PATH/TO/LLVM>") end function get_bmi_extension() diff --git a/xmake/rules/c++/modules/modules_support/msvc/compiler_support.lua b/xmake/rules/c++/modules/modules_support/msvc/compiler_support.lua index 69f677706..e08eadbfb 100644 --- a/xmake/rules/c++/modules/modules_support/msvc/compiler_support.lua +++ b/xmake/rules/c++/modules/modules_support/msvc/compiler_support.lua @@ -146,6 +146,7 @@ function get_stdmodules(target) end end end + wprint("std and std.compat modules not found ! disabling them for the build") end function get_bmi_extension() |
