diff options
author | WiSo <wiso@xbmc.org> | 2011-04-09 21:14:00 +0200 |
---|---|---|
committer | WiSo <wiso@xbmc.org> | 2011-04-09 21:14:00 +0200 |
commit | c676c9a553b127c5093d859242f317e667a7bef3 (patch) | |
tree | c43d9918c0c8c3baba4be8da166e5f59c42bc936 | |
parent | 9eef2429a8859d6fb5b0437129dbe3bef9519dc0 (diff) |
[WIN32] removed pcre project from XBMC solution and fixed the inclusion of the third party lib
-rw-r--r-- | project/VS2010Express/XBMC for Windows.sln | 10 | ||||
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj | 4 | ||||
-rw-r--r-- | xbmc/filesystem/FTPParse.cpp | 2 | ||||
-rw-r--r-- | xbmc/utils/RegExp.cpp | 4 | ||||
-rw-r--r-- | xbmc/utils/RegExp.h | 5 |
5 files changed, 5 insertions, 20 deletions
diff --git a/project/VS2010Express/XBMC for Windows.sln b/project/VS2010Express/XBMC for Windows.sln index 1fb2deb0a0..82348a6ae3 100644 --- a/project/VS2010Express/XBMC for Windows.sln +++ b/project/VS2010Express/XBMC for Windows.sln @@ -20,8 +20,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visMilkdrop", "..\..\xbmc\v EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcmyth_dll", "..\..\lib\cmyth\Win32\libcmyth.vcxproj", "{F9E6874D-60A8-49BA-9393-A2105E63ABCF}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpcre", "..\..\lib\win32\pcre\libpcre\libpcre.vcxproj", "{D8097C41-605D-4917-8957-9DF7F44A18CD}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libXDAAP", "..\..\lib\libXDAAP\libXDAAP_win32\libXDAAP_win32.vcxproj", "{19B16CD0-3B47-47B7-AB0E-81EF2BF1B187}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libenca", "..\..\lib\enca\libenca_win32\libenca_win32.vcxproj", "{22B25AEC-7223-46FC-8356-4418327EFDE1}" @@ -148,14 +146,6 @@ Global {F9E6874D-60A8-49BA-9393-A2105E63ABCF}.Release (DirectX)|Win32.Build.0 = Release|Win32 {F9E6874D-60A8-49BA-9393-A2105E63ABCF}.Release (OpenGL)|Win32.ActiveCfg = Release|Win32 {F9E6874D-60A8-49BA-9393-A2105E63ABCF}.Release (OpenGL)|Win32.Build.0 = Release|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Debug (DirectX)|Win32.ActiveCfg = Debug|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Debug (DirectX)|Win32.Build.0 = Debug|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Debug (OpenGL)|Win32.ActiveCfg = Debug|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Debug (OpenGL)|Win32.Build.0 = Debug|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Release (DirectX)|Win32.ActiveCfg = Release|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Release (DirectX)|Win32.Build.0 = Release|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Release (OpenGL)|Win32.ActiveCfg = Release|Win32 - {D8097C41-605D-4917-8957-9DF7F44A18CD}.Release (OpenGL)|Win32.Build.0 = Release|Win32 {19B16CD0-3B47-47B7-AB0E-81EF2BF1B187}.Debug (DirectX)|Win32.ActiveCfg = Debug|Win32 {19B16CD0-3B47-47B7-AB0E-81EF2BF1B187}.Debug (DirectX)|Win32.Build.0 = Debug|Win32 {19B16CD0-3B47-47B7-AB0E-81EF2BF1B187}.Debug (OpenGL)|Win32.ActiveCfg = Debug|Win32 diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj index fc75958ec5..e3157c61e4 100644 --- a/project/VS2010Express/XBMC.vcxproj +++ b/project/VS2010Express/XBMC.vcxproj @@ -2008,10 +2008,6 @@ <Project>{7a74ed4b-2bf5-47d7-b43e-c80f714417fb}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> - <ProjectReference Include="..\..\lib\win32\pcre\libpcre\libpcre.vcxproj"> - <Project>{d8097c41-605d-4917-8957-9df7f44a18cd}</Project> - <ReferenceOutputAssembly>false</ReferenceOutputAssembly> - </ProjectReference> <ProjectReference Include="..\..\lib\libapetag\libapetag.vcxproj"> <Project>{bdd2cb99-93c5-4a70-acbf-396ffb961ad3}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> diff --git a/xbmc/filesystem/FTPParse.cpp b/xbmc/filesystem/FTPParse.cpp index b3b5251812..ddb220d503 100644 --- a/xbmc/filesystem/FTPParse.cpp +++ b/xbmc/filesystem/FTPParse.cpp @@ -20,7 +20,7 @@ */ #if _WIN32 -#define PCRE_STATIC +#pragma comment(lib, "pcrecpp.lib") #endif #include <pcrecpp.h> #include <cmath> diff --git a/xbmc/utils/RegExp.cpp b/xbmc/utils/RegExp.cpp index 15c6bc206b..2d4a67d5a0 100644 --- a/xbmc/utils/RegExp.cpp +++ b/xbmc/utils/RegExp.cpp @@ -19,6 +19,10 @@ * */ +#if _WIN32 +#pragma comment(lib, "pcre.lib") +#endif + #include <stdlib.h> #include <string.h> #include "RegExp.h" diff --git a/xbmc/utils/RegExp.h b/xbmc/utils/RegExp.h index 87d1748d8f..63b96a2e24 100644 --- a/xbmc/utils/RegExp.h +++ b/xbmc/utils/RegExp.h @@ -27,12 +27,7 @@ #include <vector> namespace PCRE { -#ifdef _WIN32 -#define PCRE_STATIC -#include "lib/win32/pcre/pcre.h" -#else #include <pcre.h> -#endif } // maximum of 20 backreferences |