The Compiler is the core piece of the Elements tool chain, as it is the part that takes one or more source files (written in the Oxygene, C# or Swift programming languages) and turns it into executable code for one of the supported platforms (.NET, Cocoa or Java).
The most common use case is to use the compiler embedded into a development environment or IDE, of which we provide two: our own Fire for developers on Mac and Microsoft's Visual Studio for developers on Windows (all languages and all target platforms are supported from both).
But you can also use the compiler from the Command Line and integrated with the MSBuild and xbuild build chains, to use Elements without an IDE, for example for automated builds and continuous integration.
This section covers various topics about interacting with the compiler directly. For discussion about the different languages, please refer to the three language sections (Oxygene, C# and Swift) instead.
- The Command Line Compiler
- MSBuild (.NET) and xbuild (Mono)
- Compiler Directives
- Standard Conditional Defines