2011-05-12 09:06:32 +00:00
|
|
|
<?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;COGL_HAS_GLIB_SUPPORT"
|
|
|
|
ForcedIncludeFiles="msvc_recommended_pragmas.h"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCLinkerTool"
|
|
|
|
AdditionalDependencies="glib-2.0.lib gobject-2.0.lib"
|
|
|
|
AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="GlibEtcInstallRoot"
|
|
|
|
Value="..\..\..\..\vs9\$(PlatformName)"
|
|
|
|
/>
|
2012-03-20 07:39:58 +00:00
|
|
|
<UserMacro
|
|
|
|
Name="GlibMkEnumsPath"
|
|
|
|
Value="..\..\..\vs9\$(PlatformName)"
|
|
|
|
/>
|
2011-05-12 09:06:32 +00:00
|
|
|
<UserMacro
|
|
|
|
Name="CoglApiVersion"
|
|
|
|
Value="1.0"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="BaseBuildDefines"
|
|
|
|
Value="_WIN32_WINNT=0x0500;COGL_ENABLE_DEBUG"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="LibBuildDefines"
|
2012-06-20 17:49:08 +00:00
|
|
|
Value="HAVE_CONFIG_H;COGL_COMPILATION;$(BaseBuildDefines)"
|
2011-05-12 09:06:32 +00:00
|
|
|
/>
|
|
|
|
<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="CoglPangoBuildDefines"
|
|
|
|
Value="G_LOG_DOMAIN=\"Cogl-Pango\""
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="TestProgDef"
|
2012-06-20 17:49:08 +00:00
|
|
|
Value="COGL_COMPILATION;TESTS_DATADIR=\"../share/cogl-$(CoglApiVersion)/tests\""
|
2011-05-12 09:06:32 +00:00
|
|
|
/>
|
2011-12-20 14:41:36 +00:00
|
|
|
<UserMacro
|
|
|
|
Name="DoDefinesSDL"
|
|
|
|
Value="
|
2011-12-20 15:30:41 +00:00
|
|
|
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

|
2011-12-20 14:41:36 +00:00
|
|
|
:DONE_COGL_DEFINES_H

|
|
|
|
"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="DoDefines"
|
|
|
|
Value="
|
2011-12-20 15:30:41 +00:00
|
|
|
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

|
2011-12-20 14:41:36 +00:00
|
|
|
:DONE_COGL_DEFINES_H

|
|
|
|
"
|
|
|
|
/>
|
2011-05-12 09:06:32 +00:00
|
|
|
<UserMacro
|
|
|
|
Name="PreBuildCmd"
|
|
|
|
Value="
|
|
|
|
if exist ..\..\..\config.h goto DONE_CONFIG_H

|
|
|
|
copy ..\..\..\config.h.win32 ..\..\..\config.h

|
2012-07-09 08:09:22 +00:00
|
|
|
if not exist ..\..\..\cogl\cogl-gl-header.h copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h

|
2011-05-12 09:06:32 +00:00
|
|
|
:DONE_CONFIG_H

|
|
|
|
|
2011-12-08 08:12:01 +00:00
|
|
|
cd ..

|
2012-03-20 07:39:58 +00:00
|
|
|
gen-enums.bat $(GlibMkEnumsPath)

|
2011-12-08 08:12:01 +00:00
|
|
|
cd .\vs9

|
2011-05-12 09:06:32 +00:00
|
|
|
|
|
|
|
"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglDoInstall"
|
|
|
|
Value="
|
|
|
|
mkdir $(OutDir)

|
|
|
|
mkdir $(OutDir)\bin

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

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

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

|
|
|
|
|
|
|
|
mkdir $(OutDir)\share\cogl-$(CoglApiVersion)\examples-data

|
|
|
|
copy ..\..\..\examples\crate.jpg $(OutDir)\share\cogl-$(CoglApiVersion)\examples-data

|
|
|
|
|
|
|
|
mkdir $(OutDir)\lib

|
|
|
|
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\*-$(CoglApiVersion).lib $(OutDir)\lib

|
|
|
|
|
|
|
|
mkdir $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
mkdir $(OutDir)\include\cogl-$(CoglApiVersion)\cogl-pango

|
|
|
|
copy ..\..\..\cogl-pango\cogl-pango.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl-pango

|
|
|
|
copy ..\..\..\cogl\cogl-object.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-attribute-buffer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-bitmap.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-buffer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-color.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-deprecated.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-depth-state.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-euler.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-fixed.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2012-01-06 08:01:51 +00:00
|
|
|
copy ..\..\..\cogl\cogl-glib-source.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-05-12 09:06:32 +00:00
|
|
|
copy ..\..\..\cogl\cogl-material-compat.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-pipeline.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-quaternion.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-vector.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-matrix.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-offscreen.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-onscreen.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-primitives.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-path.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2012-03-08 08:40:46 +00:00
|
|
|
copy ..\..\..\cogl\cogl-path-functions.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-05-12 09:06:32 +00:00
|
|
|
copy ..\..\..\cogl\cogl-pipeline-layer-state.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-pipeline-state.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-pixel-buffer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2012-01-06 08:01:51 +00:00
|
|
|
copy ..\..\..\cogl\cogl-poll.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-05-12 09:06:32 +00:00
|
|
|
copy ..\..\..\cogl\cogl-shader.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-12-07 08:51:32 +00:00
|
|
|
copy ..\..\..\cogl\cogl-snippet.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-05-12 09:06:32 +00:00
|
|
|
copy ..\..\..\cogl\cogl-texture.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-texture-2d.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-texture-2d-sliced.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-sub-texture.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-texture-rectangle.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-meta-texture.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-texture-3d.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-types.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-vertex-buffer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-index-buffer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-indices.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-attribute.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-primitive.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-clip-state.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-framebuffer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-clutter.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-defines.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-enum-types.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
|
|
|
|
copy ..\..\..\cogl\cogl-renderer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-swap-chain.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-onscreen-template.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-display.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-context.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl-win32-renderer.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2012-03-08 08:40:46 +00:00
|
|
|
copy ..\..\..\cogl\cogl1-context.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-05-12 09:06:32 +00:00
|
|
|
copy ..\..\..\cogl\cogl2-path.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
|
|
|
copy ..\..\..\cogl\cogl2-experimental.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2012-03-13 14:14:47 +00:00
|
|
|
copy ..\..\..\cogl\cogl2-compatibility.h $(OutDir)\include\cogl-$(CoglApiVersion)\cogl

|
2011-05-12 09:06:32 +00:00
|
|
|
|
|
|
|
mkdir $(OutDir)\share\cogl-$(CoglApiVersion)\tests

|
|
|
|
copy ..\..\..\tests\data\valgrind.suppressions $(OutDir)\share\cogl-$(CoglApiVersion)\tests

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

|
2012-07-09 08:09:22 +00:00
|
|
|
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\cogl.def

|
2011-05-12 09:06:32 +00:00
|
|
|
"
|
|
|
|
/>
|
2012-05-14 04:56:52 +00:00
|
|
|
<UserMacro
|
|
|
|
Name="GenerateCoglSDLDef"
|
|
|
|
Value="
|
|
|
|
echo EXPORTS > ..\..\..\cogl\cogl.def

|
2012-07-09 08:09:22 +00:00
|
|
|
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 >> ..\..\..\cogl\cogl.def

|
2012-05-14 04:56:52 +00:00
|
|
|
"
|
|
|
|
/>
|
2011-05-12 09:06:32 +00:00
|
|
|
<UserMacro
|
|
|
|
Name="GenerateCoglPangoDef"
|
|
|
|
Value="
|
|
|
|
echo EXPORTS > ..\..\..\cogl-pango\cogl-pango.def

|
|
|
|
cl -EP ..\..\..\cogl-pango\cogl-pango.symbols >> ..\..\..\cogl-pango\cogl-pango.def

|
|
|
|
"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglLibtoolCompatibleDllPrefix"
|
|
|
|
Value="lib"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglLibtoolCompatibleDllSuffix"
|
|
|
|
Value="-$(CoglApiVersion)-0"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglSeparateVS9DllPrefix"
|
|
|
|
Value=""
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglSeparateVS9DllSuffix"
|
|
|
|
Value="-1-vs9"
|
|
|
|
/>
|
|
|
|
<!-- Change these two to GlibLibtoolCompatibleDllPrefix and
|
|
|
|
GlibLibtoolCompatibleDllSuffix if that is what you want -->
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglDllPrefix"
|
|
|
|
Value="$(CoglSeparateVS9DllPrefix)"
|
|
|
|
/>
|
|
|
|
<UserMacro
|
|
|
|
Name="CoglDllSuffix"
|
|
|
|
Value="$(CoglSeparateVS9DllSuffix)"
|
|
|
|
/>
|
|
|
|
</VisualStudioPropertySheet>
|