mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
1f5f931e6f
Some of the headers for Cogl was moved/split out to Cogl-Path, so update the installation of the headers accordingly
312 lines
15 KiB
XML
312 lines
15 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioPropertySheet
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="coglprops"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
|
|
IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
|
|
>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
AdditionalIncludeDirectories="..\..\..;..\..\..\cogl;..\..\..\cogl\winsys;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\pango-1.0;$(GlibEtcInstallRoot)\include\gdk-pixbuf-2.0;$(GlibEtcInstallRoot)\lib\glib-2.0\include"
|
|
PreprocessorDefinitions="G_DISABLE_SINGLE_INCLUDES"
|
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
AdditionalDependencies="glib-2.0.lib gobject-2.0.lib"
|
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
|
/>
|
|
<UserMacro
|
|
Name="VSVer"
|
|
Value="9"
|
|
/>
|
|
<UserMacro
|
|
Name="GlibEtcInstallRoot"
|
|
Value="$(SolutionDir)\..\..\..\..\vs$(VSVer)\$(PlatformName)"
|
|
/>
|
|
<UserMacro
|
|
Name="GlibEtcInstallRootFromBuildWin32"
|
|
Value="..\..\..\vs$(VSVer)\$(PlatformName)"
|
|
/>
|
|
<UserMacro
|
|
Name="CopyDir"
|
|
Value="$(GlibEtcInstallRoot)"
|
|
/>
|
|
<UserMacro
|
|
Name="DefDir"
|
|
Value="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj\$(ProjectName)"
|
|
/>
|
|
<UserMacro
|
|
Name="ApiVersion"
|
|
Value="1.0"
|
|
/>
|
|
<UserMacro
|
|
Name="BaseBuildDefines"
|
|
Value="_WIN32_WINNT=0x0500;COGL_ENABLE_DEBUG"
|
|
/>
|
|
<UserMacro
|
|
Name="LibBuildDefines"
|
|
Value="HAVE_CONFIG_H;COGL_COMPILATION;$(BaseBuildDefines)"
|
|
/>
|
|
<UserMacro
|
|
Name="ReleaseLibBuildDefines"
|
|
Value="$(LibBuildDefines);G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS"
|
|
/>
|
|
<UserMacro
|
|
Name="DebugLibBuildDefines"
|
|
Value="_DEBUG;$(LibBuildDefines);COGL_GL_DEBUG;COGL_OBJECT_DEBUG;COGL_HANDLE_DEBUG"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglBuildDefines"
|
|
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\""
|
|
/>
|
|
<UserMacro
|
|
Name="TestProgDef"
|
|
Value="COGL_COMPILATION"
|
|
/>
|
|
<UserMacro
|
|
Name="DoDefinesSDL"
|
|
Value="
|
|
if exist ..\..\..\cogl\SDL_DEFINES goto DONE_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

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="DoDefines"
|
|
Value="
|
|
if exist ..\..\..\cogl\WGL_DEFINES goto DONE_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

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="PreBuildCmd"
|
|
Value="
|
|
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

|
|
"
|
|
/>
|
|
<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)

|
|
mkdir $(CopyDir)\bin

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.dll $(CopyDir)\bin

|
|
|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*.exe $(CopyDir)\bin

|
|
|
|
copy ..\*.bat $(CopyDir)\bin

|
|
|
|
mkdir $(CopyDir)\share\cogl-$(ApiVersion)\examples-data

|
|
copy ..\..\..\examples\crate.jpg $(CopyDir)\share\cogl-$(ApiVersion)\examples-data

|
|
|
|
mkdir $(CopyDir)\lib

|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-$(ApiVersion).lib $(CopyDir)\lib

|
|
|
|
mkdir $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
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

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

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

|
|
copy ..\..\..\cogl\cogl-depth-state.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

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

|
|
copy ..\..\..\cogl\cogl-frame-info.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-glib-source.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

|
|
copy ..\..\..\cogl\cogl-material-compat.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

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

|
|
copy ..\..\..\cogl\cogl-matrix-stack.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

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

|
|
copy ..\..\..\cogl\cogl-primitive-texture.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-pipeline-layer-state.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-pipeline-state.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

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

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

|
|
copy ..\..\..\cogl\cogl-texture-2d.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-texture-2d-gl.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-texture-2d-sliced.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-sub-texture.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-texture-rectangle.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-meta-texture.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-texture-3d.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

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

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

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

|
|
copy ..\..\..\cogl\cogl-clip-state.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

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

|
|
copy ..\..\..\cogl\cogl-enum-types.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

|
|
copy ..\..\..\cogl\cogl-swap-chain.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl-onscreen-template.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

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

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

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

|
|
copy ..\..\..\cogl\cogl-win32-renderer.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl1-context.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
copy ..\..\..\cogl\cogl2-experimental.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
|
|
mkdir $(CopyDir)\include\cogl-$(ApiVersion)\cogl-pango

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

|
|
|
|
mkdir $(CopyDir)\include\cogl-$(ApiVersion)\cogl-path

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

|
|
copy ..\..\..\cogl-path\cogl-path-types.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl-path

|
|
copy ..\..\..\cogl-path\cogl1-path-functions.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl-path

|
|
copy ..\..\..\cogl-path\cogl2-path-functions.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl-path

|
|
copy ..\..\..\cogl-path\cogl-path-enum-types.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl-path

|
|
|
|
mkdir $(CopyDir)\share\cogl-$(ApiVersion)\tests

|
|
copy ..\..\..\tests\data\valgrind.suppressions $(CopyDir)\share\cogl-$(ApiVersion)\tests

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglDoInstallSDL"
|
|
Value="
|
|
copy ..\..\..\cogl\cogl-sdl.h $(CopyDir)\include\cogl-$(ApiVersion)\cogl

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="DoGenGir"
|
|
Value="
|
|
set VSVER=$(VSVer)

|
|
set CONF=$(ConfigurationName)

|
|
set PLAT=$(PlatformName)

|
|
set BASEDIR=$(GlibEtcInstallRootFromBuildWin32)

|
|
|
|
cd ..

|
|
call gengir_cogl.bat

|
|
cd vs$(VSVer)

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl.def

|
|
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglSDLDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl.def

|
|
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="GenerateCoglPangoDef"
|
|
Value="
|
|
echo EXPORTS > $(DefDir)\cogl-pango.def

|
|
cl -EP ..\..\..\cogl-pango\cogl-pango.symbols >> $(DefDir)\cogl-pango.def

|
|
"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglLibtoolCompatibleDllPrefix"
|
|
Value="lib"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglLibtoolCompatibleDllSuffix"
|
|
Value="-$(ApiVersion)-0"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglSeparateVSDllPrefix"
|
|
Value=""
|
|
/>
|
|
<UserMacro
|
|
Name="CoglSeparateVSDllSuffix"
|
|
Value="-1-vs$(VSVER)"
|
|
/>
|
|
<!-- Change these two to GlibLibtoolCompatibleDllPrefix and
|
|
GlibLibtoolCompatibleDllSuffix if that is what you want -->
|
|
<UserMacro
|
|
Name="CoglDllPrefix"
|
|
Value="$(CoglSeparateVSDllPrefix)"
|
|
/>
|
|
<UserMacro
|
|
Name="CoglDllSuffix"
|
|
Value="$(CoglSeparateVSDllSuffix)"
|
|
/>
|
|
</VisualStudioPropertySheet>
|