diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-08-26 18:18:17 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2013-08-26 18:18:17 +0800 |
commit | 8d7a9d606a767232e5e7b8f7b607ce3486dbd1cd (patch) | |
tree | 5151cdc118cd043e957f4587729096033de1503f /build/win32/vs9/cogl.vsprops | |
parent | cf44ad2493f075a599e380211c87bbb6d44c79b8 (diff) | |
download | cogl-8d7a9d606a767232e5e7b8f7b607ce3486dbd1cd.tar.gz |
Update Visual Studio Property Sheets
-Add items to generate the enumeration sources
-Add items to build the CoglPath library, which was split out
Diffstat (limited to 'build/win32/vs9/cogl.vsprops')
-rw-r--r-- | build/win32/vs9/cogl.vsprops | 52 |
1 files changed, 46 insertions, 6 deletions
diff --git a/build/win32/vs9/cogl.vsprops b/build/win32/vs9/cogl.vsprops index ed252db5..a001bd56 100644 --- a/build/win32/vs9/cogl.vsprops +++ b/build/win32/vs9/cogl.vsprops @@ -23,7 +23,7 @@ />
<UserMacro
Name="GlibEtcInstallRoot"
- Value="..\..\..\..\vs$(VSVer)\$(PlatformName)"
+ Value="$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(PlatformName)"
/>
<UserMacro
Name="GlibEtcInstallRootFromBuildWin32"
@@ -62,6 +62,10 @@ Value="G_LOG_DOMAIN=\"Cogl\";COGL_HAS_WIN32_SUPPORT;COGL_BUILD_EXP;COGL_GL_LIBNAME=\"\";COGL_LOCALEDIR=\"/some/random/dir\""
/>
<UserMacro
+ Name="CoglPathBuildDefines"
+ Value="G_LOG_DOMAIN=\"CoglPath\""
+ />
+ <UserMacro
Name="CoglPangoBuildDefines"
Value="G_LOG_DOMAIN=\"Cogl-Pango\""
/>
@@ -102,14 +106,49 @@ if exist ..\..\..\config.h goto DONE_CONFIG_H
 copy ..\..\..\config.h.win32 ..\..\..\config.h

if not exist ..\..\..\cogl\cogl-gl-header.h copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h

:DONE_CONFIG_H

-
-cd ..

-gen-enums.bat $(GlibEtcInstallRootFromBuildWin32)

-cd .\vs$(VSVer)

-
"
/>
<UserMacro
+ Name="GenCoglPathEnumsH"
+ Value="
+if exist ..\..\..\cogl-path\cogl-path-enum-types.h goto DONE_COGLPATH_ENUMS_H

+cd ..\..\..\cogl-path

+perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-path-enum-types.h.in cogl-path-types.h cogl1-path-functions.h > cogl-path-enum-types.h

+cd $(SolutionDir)

+:DONE_COGLPATH_ENUMS_H

+ "
+ />
+ <UserMacro
+ Name="GenCoglPathEnumsC"
+ Value="
+if exist ..\..\..\cogl-path\cogl-path-enum-types.c goto DONE_COGLPATH_ENUMS_C

+cd ..\..\..\cogl-path

+perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-path-enum-types.c.in cogl-path-types.h cogl1-path-functions.h > cogl-path-enum-types.c

+cd $(SolutionDir)

+:DONE_COGLPATH_ENUMS_C

+ "
+ />
+ <UserMacro
+ Name="GenCoglEnumsH"
+ Value="
+if exist ..\..\..\cogl\cogl-enum-types.h goto DONE_COGL_ENUMS_H

+cd ..\..\..\cogl

+perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.h.in cogl1-context.h cogl-bitmap.h cogl-color.h cogl-fixed.h cogl-material-compat.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-shader.h cogl-texture.h cogl-types.h cogl-vertex-buffer.h cogl-clutter.h cogl.h cogl-win32-renderer.h > cogl-enum-types.h

+cd $(SolutionDir)

+:DONE_COGL_ENUMS_H

+ "
+ />
+ <UserMacro
+ Name="GenCoglEnumsC"
+ Value="
+if exist ..\..\..\cogl\cogl-enum-types.c goto DONE_COGL_ENUMS_C

+cd ..\..\..\cogl

+perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.c.in cogl1-context.h cogl-bitmap.h cogl-color.h cogl-fixed.h cogl-material-compat.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-shader.h cogl-texture.h cogl-types.h cogl-vertex-buffer.h cogl-clutter.h cogl.h cogl-win32-renderer.h > cogl-enum-types.c

+cd $(SolutionDir)

+:DONE_COGL_ENUMS_C

+ "
+ />
+ <UserMacro
Name="CoglDoInstall"
Value="
mkdir $(CopyDir)

@@ -130,6 +169,7 @@ mkdir $(CopyDir)\include\cogl-$(ApiVersion)\cogl
 mkdir $(CopyDir)\include\cogl-$(ApiVersion)\cogl-pango

copy ..\..\..\cogl-pango\cogl-pango.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl-pango

copy ..\..\..\cogl\cogl-object.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

+copy ..\..\..\cogl\cogl-atlas-texture.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

copy ..\..\..\cogl\cogl-attribute-buffer.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

copy ..\..\..\cogl\cogl-bitmap.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

copy ..\..\..\cogl\cogl-buffer.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|