f0f44793b1
Some public headers were added, so these need to be "installed" as well. Also clean up the preprocessor definitions as they were meant to be in cogl/cogl-defines.h.
336 lines
14 KiB
XML
336 lines
14 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup Label="UserMacros">
|
|
<GlibEtcInstallRoot>..\..\..\..\vs10\$(Platform)</GlibEtcInstallRoot>
|
|
<GlibMkEnumsPath>..\..\..\vs10\$(Platform)</GlibMkEnumsPath>
|
|
<CoglApiVersion>1.0</CoglApiVersion>
|
|
<BaseBuildDefines>_WIN32_WINNT=0x0500;COGL_ENABLE_DEBUG</BaseBuildDefines>
|
|
<LibBuildDefines>HAVE_CONFIG_H;COGL_COMPILATION;$(BaseBuildDefines)</LibBuildDefines>
|
|
<ReleaseLibBuildDefines>$(LibBuildDefines);G_DISABLE_CHECKS;G_DISABLE_CAST_CHECKS</ReleaseLibBuildDefines>
|
|
<DebugLibBuildDefines>_DEBUG;$(LibBuildDefines);COGL_GL_DEBUG;COGL_OBJECT_DEBUG;COGL_HANDLE_DEBUG</DebugLibBuildDefines>
|
|
<CoglBuildDefines>G_LOG_DOMAIN="Cogl";COGL_HAS_WIN32_SUPPORT;COGL_BUILD_EXP;COGL_GL_LIBNAME="";COGL_LOCALEDIR="/some/random/dir"</CoglBuildDefines>
|
|
<CoglPangoBuildDefines>G_LOG_DOMAIN="Cogl-Pango"</CoglPangoBuildDefines>
|
|
<TestProgDef>COGL_COMPILATION</TestProgDef>
|
|
<CopyDir>$(GlibEtcInstallRoot)</CopyDir>
|
|
<DefDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</DefDir>
|
|
<DoDefinesSDL>
|
|
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
|
|
</DoDefinesSDL>
|
|
<DoDefines>
|
|
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
|
|
</DoDefines>
|
|
<PreBuildCmd>
|
|
if exist ..\..\..\config.h goto DONE_CONFIG_H
|
|
|
|
copy ..\..\..\config.h.win32 ..\..\..\config.h
|
|
|
|
:DONE_CONFIG_H
|
|
|
|
if not exist ..\..\..\cogl\cogl-gl-header.h copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h
|
|
|
|
|
|
cd ..
|
|
|
|
gen-enums.bat $(GlibMkEnumsPath)
|
|
|
|
cd .\vs10
|
|
|
|
|
|
</PreBuildCmd>
|
|
<CoglDoInstall>
|
|
mkdir $(CopyDir)
|
|
|
|
mkdir $(CopyDir)\bin
|
|
|
|
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin
|
|
|
|
|
|
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.exe $(CopyDir)\bin
|
|
|
|
|
|
copy ..\*.bat $(CopyDir)\bin
|
|
|
|
|
|
mkdir $(CopyDir)\share\cogl-$(CoglApiVersion)\examples-data
|
|
|
|
copy ..\..\..\examples\*.jpg $(CopyDir)\share\cogl-$(CoglApiVersion)\examples-data
|
|
|
|
|
|
mkdir $(CopyDir)\lib
|
|
|
|
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*-$(CoglApiVersion).lib $(CopyDir)\lib
|
|
|
|
|
|
mkdir $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
mkdir $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl-pango
|
|
|
|
copy ..\..\..\cogl-pango\cogl-pango.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl-pango
|
|
|
|
copy ..\..\..\cogl\cogl-object.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-attribute-buffer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-bitmap.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-buffer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-color.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-deprecated.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-depth-state.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-error.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-euler.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-fixed.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-frame-info.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-glib-source.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-material-compat.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-pipeline.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-vector.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-matrix.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-matrix-stack.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-offscreen.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-onscreen.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-output.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-primitives.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-primitive-texture.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-path.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-path-functions.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-pipeline-layer-state.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-pipeline-state.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-pixel-buffer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-poll.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-quaternion.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-shader.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-snippet.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-texture.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-texture-2d.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-texture-2d-gl.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-texture-2d-sliced.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-sub-texture.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-texture-rectangle.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-meta-texture.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-texture-3d.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-types.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-vertex-buffer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-index-buffer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-indices.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-attribute.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-primitive.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-clip-state.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-framebuffer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-clutter.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-defines.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-enum-types.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
|
|
copy ..\..\..\cogl\cogl-renderer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-swap-chain.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-onscreen-template.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-display.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-context.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-version.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl-win32-renderer.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl1-context.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl2-path.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl2-experimental.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
|
|
</CoglDoInstall>
|
|
<CoglDoInstallSDL>
|
|
copy ..\..\..\cogl\cogl-sdl.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
|
|
</CoglDoInstallSDL>
|
|
<GenerateCoglDef>
|
|
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
|
|
|
|
</GenerateCoglDef>
|
|
<GenerateCoglSDLDef>
|
|
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
|
|
|
|
</GenerateCoglSDLDef>
|
|
<GenerateCoglPangoDef>
|
|
echo EXPORTS > $(DefDir)\cogl-pango.def
|
|
|
|
cl -EP ..\..\..\cogl-pango\cogl-pango.symbols >> $(DefDir)\cogl-pango.def
|
|
|
|
</GenerateCoglPangoDef>
|
|
<CoglLibtoolCompatibleDllPrefix>lib</CoglLibtoolCompatibleDllPrefix>
|
|
<CoglLibtoolCompatibleDllSuffix>-$(CoglApiVersion)-0</CoglLibtoolCompatibleDllSuffix>
|
|
<CoglSeparateVS10DllPrefix />
|
|
<CoglSeparateVS10DllSuffix>-1-vs10</CoglSeparateVS10DllSuffix>
|
|
<CoglDllPrefix>$(CoglSeparateVS10DllPrefix)</CoglDllPrefix>
|
|
<CoglDllSuffix>$(CoglSeparateVS10DllSuffix)</CoglDllSuffix>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<_PropertySheetDisplayName>coglprops</_PropertySheetDisplayName>
|
|
<OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
|
|
<IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<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;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<PreprocessorDefinitions>G_DISABLE_SINGLE_INCLUDES;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
|
|
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>glib-2.0.lib;gobject-2.0.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<BuildMacro Include="GlibEtcInstallRoot">
|
|
<Value>$(GlibEtcInstallRoot)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CopyDir">
|
|
<Value>$(CopyDir)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="DefDir">
|
|
<Value>$(DefDir)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GlibEtcInstallRoot">
|
|
<Value>$(GlibMkEnumsPath)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglApiVersion">
|
|
<Value>$(CoglApiVersion)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="BaseBuildDefines">
|
|
<Value>$(BaseBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="LibBuildDefines">
|
|
<Value>$(LibBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="ReleaseLibBuildDefines">
|
|
<Value>$(ReleaseLibBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="DebugLibBuildDefines">
|
|
<Value>$(DebugLibBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglBuildDefines">
|
|
<Value>$(CoglBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglPangoBuildDefines">
|
|
<Value>$(CoglPangoBuildDefines)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="TestProgDef">
|
|
<Value>$(TestProgDef)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="DoDefinesSDL">
|
|
<Value>$(DoDefinesSDL)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="DoDefines">
|
|
<Value>$(DoDefinesSDL)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="PreBuildCmd">
|
|
<Value>$(PreBuildCmd)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglDoInstall">
|
|
<Value>$(CoglDoInstall)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglDoInstallSDL">
|
|
<Value>$(CoglDoInstallSDL)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenerateCoglDef">
|
|
<Value>$(GenerateCoglDef)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenerateCoglSDLDef">
|
|
<Value>$(GenerateCoglDef)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="GenerateCoglPangoDef">
|
|
<Value>$(GenerateCoglPangoDef)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglLibtoolCompatibleDllPrefix">
|
|
<Value>$(CoglLibtoolCompatibleDllPrefix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglLibtoolCompatibleDllSuffix">
|
|
<Value>$(CoglLibtoolCompatibleDllSuffix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglSeparateVS10DllPrefix">
|
|
<Value>$(CoglSeparateVS10DllPrefix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglSeparateVS10DllSuffix">
|
|
<Value>$(CoglSeparateVS10DllSuffix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglDllPrefix">
|
|
<Value>$(CoglDllPrefix)</Value>
|
|
</BuildMacro>
|
|
<BuildMacro Include="CoglDllSuffix">
|
|
<Value>$(CoglDllSuffix)</Value>
|
|
</BuildMacro>
|
|
</ItemGroup>
|
|
</Project>
|