| Summary: | Build script fails when project directory path include spaces | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jesse Anders <jesseanders> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | jesseanders |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows (XP) | ||
|
Description
Jesse Anders
2009-10-17 14:17:25 UTC
Thanks! This should be fixed in subversion, can you try it out? > This should be fixed in subversion, can you try it out?
Absolutely :)
When loading the solution (in VC++ 9.0), an XML parse error is generated due to the nested quotes in the following:
CommandLine="if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY"
If I replace each nested quote with '"' and then load the project, the project loads successfully, and the build script works.
Let me know if you need any other info.
Got it, thanks! (In reply to comment #3) > Got it, thanks! Just to confirm, everything appears to be working correctly now. Thanks :) Great, thanks for the fix and the followup! :) |