Browse Source

Merge pull request #1285 from seanpaultaylor/next

Fixes android build.xml files when generated from newproject.bat on Windows
Sean Taylor 12 years ago
parent
commit
3734f63dfd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      newproject.bat

+ 2 - 1
newproject.bat

@@ -152,7 +152,6 @@ REM    rmdir /S /Q %projPath%
 REM Generate relative path from project folder to GamePlay folder
 set gpPath=%cd%
 call:makerelative gpPath "%projPath%\"
-call:replacevar gpPath "\" "\"
 
 mkdir "%projPath%"
 mkdir "%projPath%\src"
@@ -170,6 +169,8 @@ call:replace "%projPath%\%projName%.vcxproj.filters" TemplateGame "%className%"
 copy template\template.vcxproj.user "%projPath%\%projName%.vcxproj.user"
 call:replace "%projPath%\%projName%.vcxproj.user" GAMEPLAY_PATH "%gpPath%"
 
+call:replacevar gpPath "\" "/"
+
 REM Copy Apple XCode project files
 mkdir "%projPath%\%projName%.xcodeproj"
 copy template\template.xcodeproj\project.pbxproj "%projPath%\%projName%.xcodeproj\project.pbxproj"