mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Fix up Visual C++ property sheets
The command to copy cogl-gl-header.h from the pre-configured cogl-gl-header.h.win32 is wrong. Fix that. Also add -DCOGL_ENABLE_EXPERIMENTAL_API for all creations of the cogl.def (cherry picked from commit 6df152c411749a610a57ecaab6a983b51d2a7612)
This commit is contained in:
parent
786d1b8e40
commit
0ac0ef34db
@ -39,7 +39,7 @@ copy ..\..\..\config.h.win32 ..\..\..\config.h
|
|||||||
|
|
||||||
:DONE_CONFIG_H
|
:DONE_CONFIG_H
|
||||||
|
|
||||||
if not exist ..\..\..\cogl\cogl-gl-header.h copy ..\..\..\cogl\cogl-gl-header.h.win32 copy ..\..\..\cogl\cogl-gl-header.h
|
if not exist ..\..\..\cogl\cogl-gl-header.h copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h
|
||||||
|
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
@ -195,13 +195,13 @@ copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersio
|
|||||||
<GenerateCoglDef>
|
<GenerateCoglDef>
|
||||||
echo EXPORTS > ..\..\..\cogl\cogl.def
|
echo EXPORTS > ..\..\..\cogl\cogl.def
|
||||||
|
|
||||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\cogl.def
|
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
|
||||||
|
|
||||||
</GenerateCoglDef>
|
</GenerateCoglDef>
|
||||||
<GenerateCoglSDLDef>
|
<GenerateCoglSDLDef>
|
||||||
echo EXPORTS > ..\..\..\cogl\cogl.def
|
echo EXPORTS > ..\..\..\cogl\cogl.def
|
||||||
|
|
||||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\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 >> ..\..\..\cogl\cogl.def
|
||||||
|
|
||||||
</GenerateCoglDef>
|
</GenerateCoglDef>
|
||||||
<GenerateCoglPangoDef>
|
<GenerateCoglPangoDef>
|
||||||
|
@ -89,7 +89,7 @@ copy ..\..\..\cogl\WGL_DEFINES ..\..\..\cogl\cogl-defines.h

|
|||||||
Value="
|
Value="
|
||||||
if exist ..\..\..\config.h goto DONE_CONFIG_H

|
if exist ..\..\..\config.h goto DONE_CONFIG_H

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

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

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

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

|
||||||
:DONE_CONFIG_H

|
:DONE_CONFIG_H

|
||||||
|
|
||||||
cd ..

|
cd ..

|
||||||
@ -183,14 +183,14 @@ copy ..\..\..\tests\data\valgrind.suppressions $(OutDir)\share\cogl-$(CoglApiVer
|
|||||||
Name="GenerateCoglDef"
|
Name="GenerateCoglDef"
|
||||||
Value="
|
Value="
|
||||||
echo EXPORTS > ..\..\..\cogl\cogl.def

|
echo EXPORTS > ..\..\..\cogl\cogl.def

|
||||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\cogl.def

|
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

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

|
echo EXPORTS > ..\..\..\cogl\cogl.def

|
||||||
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT ..\..\..\cogl\cogl.symbols >> ..\..\..\cogl\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 >> ..\..\..\cogl\cogl.def

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