MSVC 2008 Projects: Use Custom Build Rules
...for all of the copying of the pre-configured headers for Cogl. This makes it much easier for people using the projects for building Cogl to clean up files that are "generated", and this commit is the last bit for it. Also clean up the property sheets as a result. Also fix the Cogl project that it does indeed look for headers in cogl/deprecated, so that the build is fixed. Similar updates to the Visual Studio 2010 Projects will follow.
This commit is contained in:
parent
a0441778ad
commit
8b9f545e4c
@ -27,15 +27,12 @@
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefines)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
@ -65,15 +62,12 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefinesSDL)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
@ -102,15 +96,12 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefines)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
@ -140,15 +131,12 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefinesSDL)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(DebugLibBuildDefines);$(CoglBuildDefines)"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
@ -178,15 +166,12 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefines)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
@ -219,15 +204,12 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefinesSDL)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
@ -258,14 +240,11 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefines)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@ -295,14 +274,11 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
CommandLine="
|
CommandLine=""
|
||||||
$(DoDefinesSDL)
|
|
||||||
$(PreBuildCmd)
|
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
AdditionalIncludeDirectories="..\..\..\cogl\tesselator;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
AdditionalIncludeDirectories="..\..\..\cogl\deprecated;..\..\..\cogl\winsys;..\..\..\cogl\driver\gl;..\..\..\cogl\driver\gl\gl"
|
||||||
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
PreprocessorDefinitions="$(ReleaseLibBuildDefines);$(CoglBuildDefines)"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
@ -364,6 +340,182 @@ $(PreBuildCmd)
|
|||||||
>
|
>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Name="Resource Files">
|
<Filter Name="Resource Files">
|
||||||
|
<File RelativePath="..\..\..\config.h.win32">
|
||||||
|
<FileConfiguration Name="Debug|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug_SDL|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release_SDL|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug_SDL|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release_SDL|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying config.h from config.h.win32"
|
||||||
|
CommandLine="$(CopyConfigH)"
|
||||||
|
Outputs="..\..\..\config.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
<File RelativePath="..\..\..\cogl\cogl-gl-header.h.win32">
|
||||||
|
<FileConfiguration Name="Debug|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug_SDL|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release_SDL|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug_SDL|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release_SDL|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-gl-header.h from cogl-gl-header.h.win32"
|
||||||
|
CommandLine="$(CopyGLHeaderH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-gl-header.h"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
<File RelativePath="..\..\..\cogl\cogl-defines.h.win32">
|
||||||
|
<FileConfiguration Name="Debug|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32..."
|
||||||
|
CommandLine="$(CopyDefinesH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\WGL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32..."
|
||||||
|
CommandLine="$(CopyDefinesH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\WGL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32..."
|
||||||
|
CommandLine="$(CopyDefinesH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\WGL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32..."
|
||||||
|
CommandLine="$(CopyDefinesH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\WGL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
<File RelativePath="..\..\..\cogl\cogl-defines.h.win32_sdl">
|
||||||
|
<FileConfiguration Name="Debug_SDL|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32_sdl..."
|
||||||
|
CommandLine="$(CopyDefinesSDLH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\SDL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release_SDL|Win32">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32_sdl..."
|
||||||
|
CommandLine="$(CopyDefinesSDLH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\SDL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Debug_SDL|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32_sdl..."
|
||||||
|
CommandLine="$(CopyDefinesSDLH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\SDL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration Name="Release_SDL|x64">
|
||||||
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
Description="Copying cogl-defines.h from cogl-defines.h.win32_sdl..."
|
||||||
|
CommandLine="$(CopyDefinesSDLH)"
|
||||||
|
Outputs="..\..\..\cogl\cogl-defines.h;..\..\..\cogl\SDL_DEFINES"
|
||||||
|
/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
<File RelativePath="..\..\..\cogl\cogl.symbols">
|
<File RelativePath="..\..\..\cogl\cogl.symbols">
|
||||||
<FileConfiguration Name="Debug|Win32">
|
<FileConfiguration Name="Debug|Win32">
|
||||||
<Tool Name="VCCustomBuildTool"
|
<Tool Name="VCCustomBuildTool"
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
Value="COGL_COMPILATION"
|
Value="COGL_COMPILATION"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="DoDefinesSDL"
|
Name="CopyDefinesSDLH"
|
||||||
Value="
|
Value="
|
||||||
if exist ..\..\..\cogl\SDL_DEFINES goto DONE_COGL_DEFINES_H

|
if exist ..\..\..\cogl\SDL_DEFINES goto DONE_COGL_DEFINES_H

|
||||||
if not exist ..\..\..\cogl\WGL_DEFINES goto DO_COGL_DEFINES_H

|
if not exist ..\..\..\cogl\WGL_DEFINES goto DO_COGL_DEFINES_H

|
||||||
@ -87,7 +87,7 @@ copy ..\..\..\cogl\SDL_DEFINES ..\..\..\cogl\cogl-defines.h

|
|||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="DoDefines"
|
Name="CopyDefinesH"
|
||||||
Value="
|
Value="
|
||||||
if exist ..\..\..\cogl\WGL_DEFINES goto DONE_COGL_DEFINES_H

|
if exist ..\..\..\cogl\WGL_DEFINES goto DONE_COGL_DEFINES_H

|
||||||
if not exist ..\..\..\cogl\SDL_DEFINES goto DO_COGL_DEFINES_H

|
if not exist ..\..\..\cogl\SDL_DEFINES goto DO_COGL_DEFINES_H

|
||||||
@ -100,52 +100,43 @@ copy ..\..\..\cogl\WGL_DEFINES ..\..\..\cogl\cogl-defines.h

|
|||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="PreBuildCmd"
|
Name="CopyConfigH"
|
||||||
Value="
|
Value="copy ..\..\..\config.h.win32 ..\..\..\config.h"
|
||||||
if exist ..\..\..\config.h goto DONE_CONFIG_H

|
/>
|
||||||
copy ..\..\..\config.h.win32 ..\..\..\config.h

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

|
Name="CopyGLHeaderH"
|
||||||
:DONE_CONFIG_H

|
Value="copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h"
|
||||||
"
|
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
Name="GenCoglPathEnumsH"
|
Name="GenCoglPathEnumsH"
|
||||||
Value="
|
Value="
|
||||||
if exist ..\..\..\cogl-path\cogl-path-enum-types.h goto DONE_COGLPATH_ENUMS_H

|
|
||||||
cd ..\..\..\cogl-path

|
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

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

|
cd $(SolutionDir)

|
||||||
:DONE_COGLPATH_ENUMS_H

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

|
|
||||||
cd ..\..\..\cogl-path

|
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

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

|
cd $(SolutionDir)

|
||||||
:DONE_COGLPATH_ENUMS_C

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

|
|
||||||
cd ..\..\..\cogl

|
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

|
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.h.in deprecated\cogl-clip-state.h deprecated\cogl-fixed.h deprecated\cogl-material-compat.h deprecated\cogl-vertex-buffer.h deprecated\cogl-shader.h deprecated\cogl-clutter.h deprecated\cogl-type-casts.h deprecated\cogl-framebuffer-deprecated.h deprecated\cogl-texture-deprecated.h deprecated\cogl-auto-texture.h cogl1-context.h cogl-bitmap.h cogl-color.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-texture.h cogl-types.h cogl.h cogl-win32-renderer.h > cogl-enum-types.h

|
||||||
cd $(SolutionDir)

|
cd $(SolutionDir)

|
||||||
:DONE_COGL_ENUMS_H

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

|
|
||||||
cd ..\..\..\cogl

|
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

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

|
||||||
cd $(SolutionDir)

|
cd $(SolutionDir)

|
||||||
:DONE_COGL_ENUMS_C

|
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
<UserMacro
|
<UserMacro
|
||||||
|
Loading…
Reference in New Issue
Block a user