

# `oroc tooling cpp`

Export C, C++, Objective-C and Objective-C++ compiler commands.

## Usage

```bash
oroc tooling cpp [options] [<project-dir>]
```

## Options

| Option | Description |
| --- | --- |
| `--platform=<name>` | desktop, linux, mac, win, android, ios or ios-simulator |
| `--arch=<name>` | target architecture (host by default; arm64 for Android/iOS) |
| `--prod` | select release compiler flags |
| `--prepare` | build explicitly configured CMake preparation targets |
| `--refresh` | allocate a fresh editor generation |
| `--offline` | disable CMake FetchContent downloads and updates |
| `--config=<path>` | use an explicit oro.toml or oro.ini |
| `-h, --help` | show help |

## Notes

Uses Oro extension declarations, an existing compilation database, or a configured CMake project.

Generated commands target original source files and live under build.output/.oro-tooling.

Apple SDK discovery requires macOS and Xcode; Android requires the selected NDK.

Custom scripts and generated dependency headers require a build-system compilation database or CMake provider.

See [docs/LANGUAGE_SERVER.md](https://github.com/oro-computer/runtime/blob/v0.2.1/docs/LANGUAGE_SERVER.md) for configuration and editor examples.
