$target - brombres/Rogue GitHub Wiki

Rogue Language

Syntax

$target("Name")

Description

$target(...) is a meta-command that evaluates to true or false at compile time. A true result is returned if the given target was specified using the RogueC compiler's --target option.

RogueC

Syntax

RogueC Option

--target=Target1,"Target2",..., -t Target
--target=macOS

Rogue Code

if ($target("macOS")) ...