- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 641
targetdir
        starkos edited this page Apr 10, 2021 
        ·
        7 revisions
      
    
       This wiki is no longer being maintained.
Sets the destination directory for the compiled binary target.
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.
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.
Project configurations.
Premake 4.0 or later.
This project separates its compiled output by configuration type.
project "MyProject"
  configuration "Debug"
    targetdir "bin/debug"
  configuration "Release"
    targetdir "bin/release"