-
Notifications
You must be signed in to change notification settings - Fork 21
targetdir
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > targetdir
The targetdir function sets the destination directory for the compiled binary target.
#!lua
targetdir ("path")
By default, the generated project files will place their compiled output in the same directory as the script. The targetdir function allows you to change this location.
Solutions, projects, and configurations.
path is the file system path to the directory where the compiled target file should be stored. It is specified relative to the currently executing script file.
This project separates its compiled output by configuration type.
#!lua
project "MyProject"
configuration "Debug"
targetdir "bin/debug"
configuration "Release"
targetdir "bin/release"