diff options
| author | ruki <[email protected]> | 2023-09-21 22:38:18 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-21 22:38:18 +0800 |
| commit | 3d9cf6af8a3fae36dbb5e8fe055a54000ddcadfb (patch) | |
| tree | 6ecc187316c099057cdad9cdeeaa8d93ef73913e /xmake/rules/c++/xmake.lua | |
| parent | 5c619b17b5847b18d284323830dedaeff9d5d6ed (diff) | |
add asan support for package and policy
Diffstat (limited to 'xmake/rules/c++/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/xmake.lua b/xmake/rules/c++/xmake.lua index 19c943e77..e130df73b 100644 --- a/xmake/rules/c++/xmake.lua +++ b/xmake/rules/c++/xmake.lua @@ -20,12 +20,12 @@ rule("c.build") set_sourcekinds("cc") - add_deps("c.build.pcheader", "c.build.optimization") + add_deps("c.build.pcheader", "c.build.optimization", "c.build.sanitizer") on_build_files("private.action.build.object", {batch = true, distcc = true}) rule("c++.build") set_sourcekinds("cxx") - add_deps("c++.build.pcheader", "c++.build.modules", "c++.build.optimization") + add_deps("c++.build.pcheader", "c++.build.modules", "c++.build.optimization", "c++.build.sanitizer") on_build_files("private.action.build.object", {batch = true, distcc = true}) on_config(function (target) -- we enable c++ exceptions by default |
