PCSX2 Documentation/Compiling on Windows: Difference between revisions
PCSX2 Documentation/Compiling on Windows (view source)
Revision as of 13:51, 15 January 2015
, 15 January 2015→Setting DirectX SDK environment variable
No edit summary |
|||
Line 159: | Line 159: | ||
pcsx2\ | pcsx2\ | ||
</source> | </source> | ||
The batch file goes in c:\dev | *The batch file goes in c:\dev | ||
git_install_root variable value in this case is c:\dev\ | *git_install_root variable value in this case is c:\dev\ | ||
We need to do some tweaks to | We need to do some tweaks to our batch script in order to work: | ||
*Thirst we have to adjust the line that customizes PATH. In this case just add git\ after %git_install_root% on all 3 spots; | |||
*Append a code line where DXSDK_DIR is set: | |||
<source lang="powershell"> | <source lang="powershell"> | ||
@set DXSDK_DIR=%git_install_root%dep\dxsdk\ | @set DXSDK_DIR=%git_install_root%dep\dxsdk\ | ||
</source> | </source> | ||
#Append a command that launches Visual Studio. | #Append a command that launches Visual Studio. | ||
Finding the location of Visual Studio executable is easy. Just right click on Visual Studio Start Menu entry or Start screen tile (on Windows 8/8.1) and click properties. Grab the contents of the target field and past it in the batch file. You can insert an | Finding the location of Visual Studio executable is easy. Just right click on Visual Studio Start Menu entry or Start screen tile (on Windows 8/8.1) and click properties. Grab the contents of the target field and past it in the batch file source. You can insert an @ prior to that code to inhibit display output. | ||
=====Standard (dirty and insecure installation)===== | =====Standard (dirty and insecure installation)===== |