---
outline: deep
---

# Namespace Isolation

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

## Basic Example

<FileExplorer rootFilesDir="examples/configuration/namespace_isolation/basic" />

### Build and Run

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