---
url: /examples/configuration/namespace_isolation.md
---

# Namespace Isolation

We can use `namespace` to isolate targets, options, and rules in different sub-projects to avoid naming conflicts.

For a detailed tutorial, see [Namespace Isolation Guide](/guide/project-configuration/namespace-isolation).

## Basic Example

### Build and Run

```bash
$ xmake
$ xmake run
```
