diff options
Diffstat (limited to 'tools/grit/build/grit_resource_file.bat')
-rw-r--r-- | tools/grit/build/grit_resource_file.bat | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/grit/build/grit_resource_file.bat b/tools/grit/build/grit_resource_file.bat index 7853212..9769bef 100644 --- a/tools/grit/build/grit_resource_file.bat +++ b/tools/grit/build/grit_resource_file.bat @@ -7,9 +7,13 @@ setlocal set InFile=%~1 set SolutionDir=%~2 -set InputDir=%~3 +set OutDir=%~3 + +IF NOT EXIST %OutDir% ( +mkdir %OutDir% +) :: Put cygwin in the path call %SolutionDir%\..\third_party\cygwin\setup_env.bat -%SolutionDir%\..\third_party\python_24\python.exe %SolutionDir%\..\tools\grit\grit.py -i %InFile% build -o %InputDir% +%SolutionDir%\..\third_party\python_24\python.exe %SolutionDir%\..\tools\grit\grit.py -i %InFile% build -o %OutDir% |