-
-
Notifications
You must be signed in to change notification settings - Fork 621
configurations
Jason Perkins edited this page Apr 14, 2015
·
10 revisions
The configurations function specifies the set of build configurations, such as "Debug" and "Release", for a solution or project
#!lua
configurations { "names" }
A configuration encapsulates a collection of build settings, allowing the developer to easily switch between them. "Debug" and "Release" are the most common configuration names.
For more information, see Configurations and Platforms.
names is a list of configuration names. Spaces are allowed, but may make using certain Premake features, such as a command-line configuration selection, more difficult.
Solutions and projects.
Premake 4.0 or later.
Specify debug and release configurations for a solution.
#!lua
solution "MySolution"
configurations { "Debug", "Release" }
Add additional configurations for a dynamic link library version.
#!lua
configurations { "Debug", "Release", "DebugDLL", "ReleaseDLL" }