Update Visual C++ property sheets

Re-apply the cogl-defines.h as appropriate if one chooses to change
his/her mind on whether he/she wants to build the SDL winsys.
This commit is contained in:
Chun-wei Fan 2011-12-20 23:30:41 +08:00
parent 9c73da59a5
commit c7eaf4cd11
2 changed files with 28 additions and 8 deletions

View File

@ -12,13 +12,23 @@
<TestProgDef>CLUTTER_COMPILATION;TESTS_DATADIR="../share/cogl-$(CoglApiVersion)/tests"</TestProgDef> <TestProgDef>CLUTTER_COMPILATION;TESTS_DATADIR="../share/cogl-$(CoglApiVersion)/tests"</TestProgDef>
<CopyDir>$(GlibEtcInstallRoot)</CopyDir> <CopyDir>$(GlibEtcInstallRoot)</CopyDir>
<DoDefinesSDL> <DoDefinesSDL>
if exist ..\..\..\cogl\cogl-defines.h goto DONE_COGL_DEFINES_H if exist ..\..\..\cogl\SDL_DEFINES goto DONE_COGL_DEFINES_H
copy ..\..\..\cogl\cogl-defines.h.win32_sdl ..\..\..\cogl\cogl-defines.h if not exist ..\..\..\cogl\WGL_DEFINES goto DO_COGL_DEFINES_H
del ..\..\..\cogl\cogl-defines.h
del ..\..\..\cogl\WGL_DEFINES
:DO_COGL_DEFINES_H
copy ..\..\..\cogl\cogl-defines.h.win32_sdl ..\..\..\cogl\SDL_DEFINES
copy ..\..\..\cogl\SDL_DEFINES ..\..\..\cogl\cogl-defines.h
:DONE_COGL_DEFINES_H :DONE_COGL_DEFINES_H
</DoDefinesSDL> </DoDefinesSDL>
<DoDefines> <DoDefines>
if exist ..\..\..\cogl\cogl-defines.h goto DONE_COGL_DEFINES_H if exist ..\..\..\cogl\WGL_DEFINES goto DONE_COGL_DEFINES_H
copy ..\..\..\cogl\cogl-defines.h.win32 ..\..\..\cogl\cogl-defines.h if not exist ..\..\..\cogl\SDL_DEFINES goto DO_COGL_DEFINES_H
del ..\..\..\cogl\cogl-defines.h
del ..\..\..\cogl\SDL_DEFINES
:DO_COGL_DEFINES_H
copy ..\..\..\cogl\cogl-defines.h.win32 ..\..\..\cogl\WGL_DEFINES
copy ..\..\..\cogl\WGL_DEFINES ..\..\..\cogl\cogl-defines.h
:DONE_COGL_DEFINES_H :DONE_COGL_DEFINES_H
</DoDefines> </DoDefines>
<PreBuildCmd> <PreBuildCmd>

View File

@ -57,16 +57,26 @@
<UserMacro <UserMacro
Name="DoDefinesSDL" Name="DoDefinesSDL"
Value=" Value="
if exist ..\..\..\cogl\cogl-defines.h goto DONE_COGL_DEFINES_H&#x0D;&#x0A; if exist ..\..\..\cogl\SDL_DEFINES goto DONE_COGL_DEFINES_H&#x0D;&#x0A;
copy ..\..\..\cogl\cogl-defines.h.win32_sdl ..\..\..\cogl\cogl-defines.h&#x0D;&#x0A; if not exist ..\..\..\cogl\WGL_DEFINES goto DO_COGL_DEFINES_H&#x0D;&#x0A;
del ..\..\..\cogl\cogl-defines.h&#x0D;&#x0A;
del ..\..\..\cogl\WGL_DEFINES&#x0D;&#x0A;
:DO_COGL_DEFINES_H&#x0D;&#x0A;
copy ..\..\..\cogl\cogl-defines.h.win32_sdl ..\..\..\cogl\SDL_DEFINES&#x0D;&#x0A;
copy ..\..\..\cogl\SDL_DEFINES ..\..\..\cogl\cogl-defines.h&#x0D;&#x0A;
:DONE_COGL_DEFINES_H&#x0D;&#x0A; :DONE_COGL_DEFINES_H&#x0D;&#x0A;
" "
/> />
<UserMacro <UserMacro
Name="DoDefines" Name="DoDefines"
Value=" Value="
if exist ..\..\..\cogl\cogl-defines.h goto DONE_COGL_DEFINES_H&#x0D;&#x0A; if exist ..\..\..\cogl\WGL_DEFINES goto DONE_COGL_DEFINES_H&#x0D;&#x0A;
copy ..\..\..\cogl\cogl-defines.h.win32 ..\..\..\cogl\cogl-defines.h&#x0D;&#x0A; if not exist ..\..\..\cogl\SDL_DEFINES goto DO_COGL_DEFINES_H&#x0D;&#x0A;
del ..\..\..\cogl\cogl-defines.h&#x0D;&#x0A;
del ..\..\..\cogl\SDL_DEFINES&#x0D;&#x0A;
:DO_COGL_DEFINES_H&#x0D;&#x0A;
copy ..\..\..\cogl\cogl-defines.h.win32 ..\..\..\cogl\WGL_DEFINES&#x0D;&#x0A;
copy ..\..\..\cogl\WGL_DEFINES ..\..\..\cogl\cogl-defines.h&#x0D;&#x0A;
:DONE_COGL_DEFINES_H&#x0D;&#x0A; :DONE_COGL_DEFINES_H&#x0D;&#x0A;
" "
/> />