Show
Ignore:
Timestamp:
30.09.2009 14:44:27 (10 years ago)
Author:
ak19
Message:

Added a variable that can be set to true if the makegs2 script should itself call the scripts SDK's setenv.cmd and Vis Studio's vcvars32.bat. By default the variable is not set and so the environment has to be set up by the user before trying to use makegs2.bat compile. This change was made because the Windows SDK works different from older versions of Platform SDK.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/makegs2.bat

    r20745 r20765  
    33CD /D "%~dp0" 
    44 
     5 
     6:: Set this to "true" if this script can attempt to setup the environment for compilation for you (leave empty if you will do it) 
     7set SET_GS_ENV= 
    58 
    69:: Path to VCVARS32.bat -- You can set this variable manually if needed 
     
    8386IF NOT EXIST .\common-src\indexers\packages\windows\iconv\iconv\*.* GOTO NEEDUNZIP 
    8487IF NOT EXIST .\common-src\packages\sqlite\sqlite* GOTO NEEDUNZIP 
     88 
     89:: Do nothing if  we are not to set the environment for compiling in this file (if it was set before) 
     90if not "SET_GS_ENV"=="true" goto :PROMPT 
    8591 
    8692rem Check some known paths to VCVARS32.BAT