From af3dbd0034176ec1b325911de40284983762a315 Mon Sep 17 00:00:00 2001 From: halleyscometsw Date: Sun, 15 Jun 2008 07:51:10 +0000 Subject: [PATCH] make linking with libvorbis possible on MSVC git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@234 51a99a44-fe44-0410-b1ba-c3e57ba2b86b --- ext_libs/ext_libs.vcproj | 118 +++++++++++++++++++++++++++++++++++++ src/libvgmstream.vcproj | 25 ++++---- src/streamtypes.h | 2 +- vgmstream.sln | 7 +++ winamp/in_vgmstream.vcproj | 12 ++-- 5 files changed, 144 insertions(+), 20 deletions(-) create mode 100644 ext_libs/ext_libs.vcproj diff --git a/ext_libs/ext_libs.vcproj b/ext_libs/ext_libs.vcproj new file mode 100644 index 00000000..2aa2455f --- /dev/null +++ b/ext_libs/ext_libs.vcproj @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/libvgmstream.vcproj b/src/libvgmstream.vcproj index c9500475..b726b002 100644 --- a/src/libvgmstream.vcproj +++ b/src/libvgmstream.vcproj @@ -1,7 +1,7 @@  - - + + @@ -250,6 +249,10 @@ RelativePath=".\meta\ngc_dsp_std.c" > + + @@ -306,10 +309,6 @@ RelativePath=".\meta\psx_cdxa.c" > - - @@ -386,6 +385,10 @@ RelativePath=".\coding\ngc_dtk_decoder.c" > + + diff --git a/src/streamtypes.h b/src/streamtypes.h index 9a73720d..e87e4d39 100644 --- a/src/streamtypes.h +++ b/src/streamtypes.h @@ -7,7 +7,7 @@ #define _STREAMTYPES_H #ifdef _MSC_VER -#include "../ext_includes/pstdint.h" +#include #define inline _inline #define strcasecmp _stricmp #define snprintf _snprintf diff --git a/vgmstream.sln b/vgmstream.sln index b5715bdb..7f68f660 100644 --- a/vgmstream.sln +++ b/vgmstream.sln @@ -5,9 +5,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libvgmstream", "src\libvgms EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "in_vgmstream", "winamp\in_vgmstream.vcproj", "{42D86561-8CE4-40F5-86CE-58C986B77502}" ProjectSection(ProjectDependencies) = postProject + {10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF} = {10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF} {54A6AD11-5369-4895-A06F-E255ABB99B11} = {54A6AD11-5369-4895-A06F-E255ABB99B11} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ext_libs", "ext_libs\ext_libs.vcproj", "{10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -22,6 +25,10 @@ Global {42D86561-8CE4-40F5-86CE-58C986B77502}.Debug|Win32.Build.0 = Debug|Win32 {42D86561-8CE4-40F5-86CE-58C986B77502}.Release|Win32.ActiveCfg = Release|Win32 {42D86561-8CE4-40F5-86CE-58C986B77502}.Release|Win32.Build.0 = Release|Win32 + {10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF}.Debug|Win32.ActiveCfg = Debug|Win32 + {10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF}.Debug|Win32.Build.0 = Debug|Win32 + {10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF}.Release|Win32.ActiveCfg = Release|Win32 + {10E6BFC6-1E5B-46E4-BA42-F04DFBD0ABFF}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/winamp/in_vgmstream.vcproj b/winamp/in_vgmstream.vcproj index 0a3aff4f..6ed3375f 100644 --- a/winamp/in_vgmstream.vcproj +++ b/winamp/in_vgmstream.vcproj @@ -4,6 +4,7 @@ Version="8.00" Name="in_vgmstream" ProjectGUID="{42D86561-8CE4-40F5-86CE-58C986B77502}" + RootNamespace="in_vgmstream" Keyword="Win32Proj" > @@ -111,6 +112,7 @@ /> - - - -