diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2012-09-28 18:45:41 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2012-09-28 18:45:41 +0800 |
commit | cfdc1c95eb92c5c0c280457d0df376a051fbe8b1 (patch) | |
tree | dd585136fae7030efbf150213c73aa9bfc141826 /build/win32/vs10/cogl.props | |
parent | c0e9d9235a0e1c96f6ff25e77fb60a65eb8ddc38 (diff) | |
download | cogl-cfdc1c95eb92c5c0c280457d0df376a051fbe8b1.tar.gz |
Clean up Visual C++ projects
Since commit 7253c5ca (Bug 682071-cogl/cogl-sdl.h: MSVC: Link to SDL when
apps are built), on Visual C++ we link to SDL.lib and SDLmain.lib using
a #pragma comment directive in cogl/cogl-sdl.h, so we no longer need
specific project configs for Cogl programs which build against a Cogl built
with SDL. This removes those unneeded configs.
Also "install" cogl/cogl-sdl.h when Cogl is built with the SDL winsys, as
it is a needed header
Diffstat (limited to 'build/win32/vs10/cogl.props')
-rw-r--r-- | build/win32/vs10/cogl.props | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/build/win32/vs10/cogl.props b/build/win32/vs10/cogl.props index 5a1bcb6d..19c817d5 100644 --- a/build/win32/vs10/cogl.props +++ b/build/win32/vs10/cogl.props @@ -50,7 +50,7 @@ gen-enums.bat $(GlibMkEnumsPath) cd .\vs10
-</PreBuildCmd>
+ </PreBuildCmd>
<CoglDoInstall>
mkdir $(CopyDir)
@@ -196,7 +196,10 @@ copy ..\..\..\cogl\cogl2-experimental.h $(CopyDir)\include\cogl-$(CoglApiVersion copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
-</CoglDoInstall>
+ </CoglDoInstall>
+ <CoglDoInstallSDL>
+copy ..\..\..\cogl\cogl-sdl.h $(CopyDir)\include\cogl-$(CoglApiVersion)\cogl
+ </CoglDoInstallSDL>
<GenerateCoglDef>
echo EXPORTS > $(DefDir)\cogl.def
@@ -288,6 +291,9 @@ copy ..\..\..\cogl\cogl2-compatibility.h $(CopyDir)\include\cogl-$(CoglApiVersio <BuildMacro Include="CoglDoInstall">
<Value>$(CoglDoInstall)</Value>
</BuildMacro>
+ <BuildMacro Include="CoglDoInstallSDL">
+ <Value>$(CoglDoInstallSDL)</Value>
+ </BuildMacro>
<BuildMacro Include="GenerateCoglDef">
<Value>$(GenerateCoglDef)</Value>
</BuildMacro>
|