This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/language.md
2021-03-12 22:10:24 +01:00

928 B

Sets the programming language used by a project.

language ("lang")

Parameters

lang is the language identifier. Some languages require a module for full support.

Language Module
C Built-in; always available
C++ Built-in; always available
C# Built-in; always available
F# Built-in; always available
D Built-in; always available (API and support)

More languages may be available via other add-on modules.

Applies To

Project configurations.

Availability

C, C++, and C# are available in Premake 4.0 or later. Others are 5.0 or later.

Examples

Set the project language to C++.

language "C++"

Set the project language to C#

language "C#"