op2_sdk:projectsettings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
op2_sdk:projectsettings [2016/10/06 06:40] vagabondop2_sdk:projectsettings [2016/10/06 06:50] – [Copying Scenario DLL using a Post Build Event] vagabond
Line 24: Line 24:
  
 Visual Studio uses macros in pre and post build events to simplify commands. For example ''$(TargetName)'' represents the target filename minus its extension. A list of macros can be found here: [[https://msdn.microsoft.com/en-us/library/c02as0cs.aspx]]. Visual Studio uses macros in pre and post build events to simplify commands. For example ''$(TargetName)'' represents the target filename minus its extension. A list of macros can be found here: [[https://msdn.microsoft.com/en-us/library/c02as0cs.aspx]].
 +
 +**Example Post Build copy commands:** 
 +
 + * copy /Y "$(TargetPath)" "..\..\..\..\GameDownload\Outpost2\trunk\$(TargetFilename)"
 + * copy /Y "$(ProjectDir)Ashes.map" "..\..\..\..\GameDownload\Outpost2\trunk\Ashes.map"
 + * copy /Y "$(ProjectDir)multitekNoLavaWalls.txt" "..\..\..\..\GameDownload\Outpost2\trunk\multitekNoLavaWalls.txt"
 +
 +**Setting Post Build Event Instructions**
  
   - In the Solution Explorer, right click on the project you wish to include a post build event and click on properties.   - In the Solution Explorer, right click on the project you wish to include a post build event and click on properties.
  • op2_sdk/projectsettings.txt
  • Last modified: 2016/11/03 17:40
  • by vagabond