Xmake Policy

Use when setting build policies via `set_policy("name", value)` — named feature toggles that control sanitizers, LTO, warnings, C++ modules, ccache, module-reuse, rpath, preprocessor behavior, package download strict mode, and many others. Covers the common policies grouped by purpose, how to scope them (project vs target), and where to find the full list.

xmake-io Updated

File contents

xmake-io/xmake-skills/tree/main/skills/project-config/xmake-policy commit 0732cabed1

Frequently asked questions

npx skillmds@latest add xmake-io/xmake-policy