--- outline: deep --- # 命名空间隔离 我们可以使用 `namespace` 来隔离不同子工程的 target、option 和 rule,避免命名冲突。 ## 基础示例 ### 编译运行 ```bash $ xmake $ xmake run ```