mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
12edfe0b9c
Original commit message from CVS: Patch by: Marcus Granado <mrc dot gran at gmail com> * win32/vs8/grammar.vcproj: Error out with a warning if glib-genmarshal.exe is not in path, instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
176 lines
6.5 KiB
XML
176 lines
6.5 KiB
XML
<?xml version="1.0" encoding="windows-1251"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="8.00"
|
|
Name="grammar"
|
|
ProjectGUID="{6D7EB3D4-7E91-4D98-80EA-28A8F2E365F7}"
|
|
RootNamespace="grammar"
|
|
Keyword="Win32Proj"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="Win32"
|
|
/>
|
|
</Platforms>
|
|
<ToolFiles>
|
|
</ToolFiles>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|Win32"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
|
IntermediateDirectory="$(ConfigurationName)"
|
|
ConfigurationType="10"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
<Configuration
|
|
Name="Release|Win32"
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
|
IntermediateDirectory="$(ConfigurationName)"
|
|
ConfigurationType="10"
|
|
CharacterSet="2"
|
|
>
|
|
<Tool
|
|
Name="VCPreBuildEventTool"
|
|
/>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
/>
|
|
<Tool
|
|
Name="VCMIDLTool"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<References>
|
|
</References>
|
|
<Files>
|
|
<File
|
|
RelativePath="..\..\gst\parse\grammar.y"
|
|
>
|
|
<FileConfiguration
|
|
Name="Debug|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="bison -d -v -p_gst_parse__yy ..\..\gst\parse\grammar.y -o ..\..\gst\parse\grammar.tab.c
flex -P_gst_parse_yy -o..\..\gst\parse\lex._gst_parse_yy.c ..\..\gst\parse\parse.l
"
|
|
Outputs="..\..\gst\parse\lex._gst_parse_yy.c;..\..\gst\parse\grammar.tab.c;..\..\gst\parse\grammar.tab.h"
|
|
/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Release|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="bison -d -v -p_gst_parse__yy ..\..\gst\parse\grammar.y -o ..\..\gst\parse\grammar.tab.c
flex -P_gst_parse_yy -o..\..\gst\parse\lex._gst_parse_yy.c ..\..\gst\parse\parse.l
"
|
|
Outputs="..\..\gst\parse\lex._gst_parse_yy.c;..\..\gst\parse\grammar.tab.c;..\..\gst\parse\grammar.tab.h"
|
|
/>
|
|
</FileConfiguration>
|
|
</File>
|
|
<File
|
|
RelativePath="..\common\gstconfig.h"
|
|
>
|
|
<FileConfiguration
|
|
Name="Debug|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="copy /y ..\common\gstconfig.h ..\..\gst
"
|
|
Outputs="..\..\gstconfig.h"
|
|
/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Release|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="copy /y ..\common\gstconfig.h ..\..\gst
"
|
|
Outputs="..\..\gstconfig.h"
|
|
/>
|
|
</FileConfiguration>
|
|
</File>
|
|
<File
|
|
RelativePath="..\common\gstenumtypes.c"
|
|
>
|
|
<FileConfiguration
|
|
Name="Debug|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="copy /y ..\common\gstenumtypes.c ..\..\gst
copy /y ..\common\gstenumtypes.h ..\..\gst
"
|
|
Outputs="..\..\gst\gstenumtypes.c;..\..\gst\gstenumtypes.h"
|
|
/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Release|Win32"
|
|
ExcludedFromBuild="true"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="copy /y ..\common\gstenumtypes.c ..\..\gst
copy /y ..\common\gstenumtypes.h ..\..\gst
"
|
|
Outputs="..\..\gst\gstenumtypes.c;..\..\gst\gstenumtypes.h"
|
|
/>
|
|
</FileConfiguration>
|
|
</File>
|
|
<File
|
|
RelativePath="..\..\gst\gstmarshal.list"
|
|
>
|
|
<FileConfiguration
|
|
Name="Debug|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="glib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL 
rem resets errorlevel to 0 because it is 1 now:
dir > NUL

if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h
goto END

:NOGLIBGENMARSHAL
echo ERROR %errorlevel%
echo ### YOU DO NOT HAVE GLIB-GENMARSHAL.EXE IN YOUR PATH.
echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!

:END

"
|
|
Outputs="gstmarshal.tmp"
|
|
/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Release|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="glib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL 
rem resets errorlevel to 0 because it is 1 now:
dir > NUL

if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h
goto END

:NOGLIBGENMARSHAL
echo ERROR %errorlevel%
echo ### YOU DO NOT HAVE GLIB-GENMARSHAL.EXE IN YOUR PATH.
echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!

:END

"
|
|
Outputs="gstmarshal.tmp"
|
|
/>
|
|
</FileConfiguration>
|
|
</File>
|
|
<File
|
|
RelativePath="..\common\gstversion.h"
|
|
>
|
|
<FileConfiguration
|
|
Name="Debug|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="copy /y ..\common\gstversion.h ..\..\gst
"
|
|
Outputs="..\..\gst\gstversion.h"
|
|
/>
|
|
</FileConfiguration>
|
|
<FileConfiguration
|
|
Name="Release|Win32"
|
|
>
|
|
<Tool
|
|
Name="VCCustomBuildTool"
|
|
CommandLine="copy /y ..\common\gstversion.h ..\..\gst
"
|
|
Outputs="..\..\gst\gstversion.h"
|
|
/>
|
|
</FileConfiguration>
|
|
</File>
|
|
</Files>
|
|
<Globals>
|
|
</Globals>
|
|
</VisualStudioProject>
|