# Ox

Enables maximum optimizations.

## Syntax

Linux: | None

macOS: | None

Windows: | /Ox

## Arguments

None

## Default

OFF | The compiler does not enable optimizations.

## Description

The compiler enables maximum optimizations by combining the following options:

- /Oi

- /Ot

- /Ob2

- /Oy

## IDE Equivalent

Visual Studio: Optimization > Optimization

Eclipse: None

Xcode: None

## Alternate Options

None

Parent topic: Optimization Options