forked from premake/premake-core
-
Notifications
You must be signed in to change notification settings - Fork 0
filename
Jason Perkins edited this page May 29, 2015
·
5 revisions
Sets the name of a generated solution, project, or rules file. Use it in conjunction with location to completely control the generated file destination.
filename ("name")
By default, generated solution, project, and rule files use their name the as the name of the generated file. The filename
function allows you to change this.
name
is the desired file name for the generated solution or project file.
Project configurations.
Change the solution name to "Master".
solution "MySolution"
filename "Master"
If you plan to build with multiple tools from the same source tree you might want to split up the project files by toolset. The _ACTION global variable contains the current toolset identifier, as specified on the command line.
solution "MySolution"
filename "MySolution_%{_ACTION or ''}"