aboutsummaryrefslogtreecommitdiff
path: root/project/VS2010Express
diff options
context:
space:
mode:
authorPär Björklund <per@ohmy.nu>2016-07-10 22:13:08 +0200
committerPär Björklund <per@ohmy.nu>2016-07-17 15:19:31 +0200
commite49c7ec6b4f8dfbe0917df801035872992784438 (patch)
treec5feec903e9b9a7174dd3db00767564832b11356 /project/VS2010Express
parent2ab7fb1ca2eb72611842c48276b15e4ed0bd225b (diff)
Cleanup work that started with running as Win10 app
UWP(project centennial) does not allow AddDllDirectory which we don't really need anyway but it's use made the folder structure pretty. Since we run perfectly fine without it both native and as UWP I decided to drop it completely. To make the build, installer and debugging experience easier this led to plenty of changes to packages and build scripts to output all dlls into /system/ instead of different folders. While moving stuff around some dependencies got updated, it's possible that we can use java menus in bluray movies now, not tested. EasyHook just got repackaged to fit the new folder structure. The rebuilding of dependencies led to us being able to drop old vcredist files which also simplifies installer and packaging, especially for UWP. Some minor cleanup along the way as well
Diffstat (limited to 'project/VS2010Express')
-rw-r--r--project/VS2010Express/XBMC.defaults.props6
-rw-r--r--project/VS2010Express/XBMC.vcxproj3
-rw-r--r--project/VS2010Express/XBMC.vcxproj.filters3
3 files changed, 4 insertions, 8 deletions
diff --git a/project/VS2010Express/XBMC.defaults.props b/project/VS2010Express/XBMC.defaults.props
index 4376ce9eb3..d1a9e57e35 100644
--- a/project/VS2010Express/XBMC.defaults.props
+++ b/project/VS2010Express/XBMC.defaults.props
@@ -7,7 +7,7 @@
<IncludePath>$(SolutionDir)\..\BuildDependencies\include;$(SolutionDir)\..\BuildDependencies\include\python;$(IncludePath)</IncludePath>
<ExecutablePath>$(SolutionDir)\..\..\tools\win32buildtools;$(ExecutablePath)</ExecutablePath>
<LocalDebuggerEnvironment>KODI_HOME=$(SolutionDir)..\..
-PATH=$(SolutionDir)..\Win32BuildSetup\dependencies;%PATH%</LocalDebuggerEnvironment>
+PATH=$(SolutionDir)..\..\system;%PATH%</LocalDebuggerEnvironment>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
@@ -29,7 +29,7 @@ PATH=$(SolutionDir)..\Win32BuildSetup\dependencies;%PATH%</LocalDebuggerEnvironm
</ItemDefinitionGroup>
<!-- "Debug" specific settings -->
<PropertyGroup Condition="'$(UseDebugLibraries)'=='true'">
- <LibraryPath>$(SolutionDir)\..\BuildDependencies\lib\Debug-vc120;$(SolutionDir)\..\BuildDependencies\lib;$(LibraryPath)</LibraryPath>
+ <LibraryPath>$(SolutionDir)\..\BuildDependencies\lib\;$(LibraryPath)</LibraryPath>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(UseDebugLibraries)'=='true'">
@@ -49,7 +49,7 @@ PATH=$(SolutionDir)..\Win32BuildSetup\dependencies;%PATH%</LocalDebuggerEnvironm
</ItemDefinitionGroup>
<!-- "Release" specific settings -->
<PropertyGroup Condition="'$(UseDebugLibraries)'!='true'">
- <LibraryPath>$(SolutionDir)\..\BuildDependencies\lib\Release-vc120;$(SolutionDir)\..\BuildDependencies\lib;$(LibraryPath)</LibraryPath>
+ <LibraryPath>$(SolutionDir)\..\BuildDependencies\lib;$(LibraryPath)</LibraryPath>
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(UseDebugLibraries)'!='true'">
diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj
index 036e893768..fdbb568acf 100644
--- a/project/VS2010Express/XBMC.vcxproj
+++ b/project/VS2010Express/XBMC.vcxproj
@@ -169,7 +169,7 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command>
<AdditionalOptions>/IGNORE:4089 /ignore:4254 %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>d3d11.lib;DInput8.lib;DSound.lib;winmm.lib;CrossGuid.lib;Mpr.lib;Iphlpapi.lib;PowrProf.lib;setupapi.lib;dwmapi.lib;yajl.lib;dxguid.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
- <IgnoreSpecificDefaultLibraries>%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
+ <IgnoreSpecificDefaultLibraries>LIBCMT.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<DelayLoadDLLs>zlib.dll;libmysql.dll;libxslt.dll;dnssd.dll;dwmapi.dll;ssh.dll;sqlite3.dll;avcodec-57.dll;avfilter-6.dll;avformat-57.dll;avutil-55.dll;postproc-54.dll;swresample-2.dll;swscale-4.dll;d3dcompiler_47.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(OutDir)$(ProjectName).pdb</ProgramDatabaseFile>
@@ -1805,7 +1805,6 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command>
<ClCompile Include="..\..\xbmc\win32\stat_utf8.cpp" />
<ClCompile Include="..\..\xbmc\win32\stdio_utf8.cpp" />
<ClCompile Include="..\..\xbmc\win32\strverscmp.cpp" />
- <ClCompile Include="..\..\xbmc\win32\Win32DelayedDllLoad.cpp" />
<ClCompile Include="..\..\xbmc\win32\WIN32Util.cpp" />
<ClCompile Include="..\..\xbmc\win32\WindowHelper.cpp" />
<ClCompile Include="..\..\xbmc\cores\VideoPlayer\DVDAudio.cpp" />
diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters
index b3c5378881..df510dba33 100644
--- a/project/VS2010Express/XBMC.vcxproj.filters
+++ b/project/VS2010Express/XBMC.vcxproj.filters
@@ -1752,9 +1752,6 @@
<ClCompile Include="..\..\xbmc\interfaces\json-rpc\JSONServiceDescription.cpp">
<Filter>interfaces\json-rpc</Filter>
</ClCompile>
- <ClCompile Include="..\..\xbmc\win32\Win32DelayedDllLoad.cpp">
- <Filter>win32</Filter>
- </ClCompile>
<ClCompile Include="..\..\xbmc\interfaces\json-rpc\InputOperations.cpp">
<Filter>interfaces\json-rpc</Filter>
</ClCompile>