diff options
author | Kolja Lampe <razzeee@gmail.com> | 2016-07-16 21:20:07 +0200 |
---|---|---|
committer | Kolja Lampe <razzeee@gmail.com> | 2016-07-24 11:29:31 +0200 |
commit | aeaa7ddacf84f3a1c94b483e57ac92e24c81b5e6 (patch) | |
tree | c330006b8618aa629329cc64aab2006cdee81c71 /project | |
parent | db51af40b5c6854302766bd98f3fd3d96363c00c (diff) |
Move win32 files to their own platform folder
Diffstat (limited to 'project')
-rw-r--r-- | project/VS2010Express/UnrarXLib.vcxproj | 4 | ||||
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj | 48 | ||||
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj.filters | 40 | ||||
-rw-r--r-- | project/VS2010Express/XbmcCommons.vcxproj | 4 | ||||
-rw-r--r-- | project/VS2010Express/XbmcThreads.vcxproj | 4 | ||||
-rw-r--r-- | project/cmake/CMakeLists.txt | 6 | ||||
-rw-r--r-- | project/cmake/scripts/common/Macros.cmake | 2 | ||||
-rw-r--r-- | project/cmake/scripts/windows/ArchSetup.cmake | 2 | ||||
-rw-r--r-- | project/cmake/treedata/windows/subdirs.txt | 3 |
9 files changed, 56 insertions, 57 deletions
diff --git a/project/VS2010Express/UnrarXLib.vcxproj b/project/VS2010Express/UnrarXLib.vcxproj index 84d858815b..393049eba3 100644 --- a/project/VS2010Express/UnrarXLib.vcxproj +++ b/project/VS2010Express/UnrarXLib.vcxproj @@ -57,7 +57,7 @@ </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\win32\;</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\platform\win32\;</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_LIB;_USE_32BIT_TIME_T;HAS_DX;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>rar.hpp</PrecompiledHeaderFile> @@ -72,7 +72,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> - <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\win32\;</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\platform\win32\;</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_LIB;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <PrecompiledHeader>Use</PrecompiledHeader> diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj index 3ec2e2f5ae..dcf0c4bdce 100644 --- a/project/VS2010Express/XBMC.vcxproj +++ b/project/VS2010Express/XBMC.vcxproj @@ -80,7 +80,7 @@ </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>..\..\;..\..\xbmc\;..\..\xbmc\cores\VideoPlayer;..\..\xbmc\win32;..\..\lib;..\..\lib\win32\ffmpeg\include;..\..\lib\libUPnP;..\..\lib\libUPnP\Platinum\Source\Devices\MediaRenderer;..\..\lib\libUPnP\Platinum\Source\Devices\MediaConnect;..\..\lib\libUPnP\Platinum\Source\Devices\MediaServer;..\..\lib\libUPnP\Platinum\Source\Platinum;..\..\lib\libUPnP\Platinum\Source\Core;..\..\lib\libUPnP\Platinum\Source\Extras;..\..\lib\libUPnP\Neptune\Source\Core;..\..\lib\libUPnP\Neptune\Source\System\Win32;..\..\lib\win32\pcre;..\..\lib\win32\Effects11\inc;..\..\lib\win32;..\..\xbmc\cores\AudioEngine\;..\..\addons\library.kodi.guilib;..\..\addons\library.xbmc.addon;..\..\addons\library.xbmc.pvr;..\..\addons\library.xbmc.codec;shaders;..\..\tools\depends\native\libsquish-native\src;%(AdditionalIncludeDirectories);XBMC\$(Configuration);..\..\addons\library.xbmc.adsp</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\;..\..\xbmc\;..\..\xbmc\cores\VideoPlayer;..\..\xbmc\platform\win32;..\..\lib;..\..\lib\win32\ffmpeg\include;..\..\lib\libUPnP;..\..\lib\libUPnP\Platinum\Source\Devices\MediaRenderer;..\..\lib\libUPnP\Platinum\Source\Devices\MediaConnect;..\..\lib\libUPnP\Platinum\Source\Devices\MediaServer;..\..\lib\libUPnP\Platinum\Source\Platinum;..\..\lib\libUPnP\Platinum\Source\Core;..\..\lib\libUPnP\Platinum\Source\Extras;..\..\lib\libUPnP\Neptune\Source\Core;..\..\lib\libUPnP\Neptune\Source\System\Win32;..\..\lib\win32\pcre;..\..\lib\win32\Effects11\inc;..\..\lib\win32;..\..\xbmc\cores\AudioEngine\;..\..\addons\library.kodi.guilib;..\..\addons\library.xbmc.addon;..\..\addons\library.xbmc.pvr;..\..\addons\library.xbmc.codec;shaders;..\..\tools\depends\native\libsquish-native\src;%(AdditionalIncludeDirectories);XBMC\$(Configuration);..\..\addons\library.xbmc.adsp</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_USE_32BIT_TIME_T;HAS_DX;D3D_DEBUG_INFO;__STDC_CONSTANT_MACROS;_SECURE_SCL=0;TAGLIB_STATIC;NPT_CONFIG_ENABLE_LOGGING;PLT_HTTP_DEFAULT_USER_AGENT="UPnP/1.0 DLNADOC/1.50 Kodi";PLT_HTTP_DEFAULT_SERVER="UPnP/1.0 DLNADOC/1.50 Kodi";%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling>Async</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> @@ -117,7 +117,7 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>..\..\;..\..\xbmc\;..\..\xbmc\cores\VideoPlayer;..\..\xbmc\win32;..\..\lib;..\..\lib\win32\ffmpeg\include;..\..\lib\libUPnP;..\..\lib\libUPnP\Platinum\Source\Devices\MediaRenderer;..\..\lib\libUPnP\Platinum\Source\Devices\MediaConnect;..\..\lib\libUPnP\Platinum\Source\Devices\MediaServer;..\..\lib\libUPnP\Platinum\Source\Platinum;..\..\lib\libUPnP\Platinum\Source\Core;..\..\lib\libUPnP\Platinum\Source\Extras;..\..\lib\libUPnP\Neptune\Source\Core;..\..\lib\libUPnP\Neptune\Source\System\Win32;..\..\lib\win32\pcre;..\..\lib\win32\Effects11\inc;..\..\lib\win32;..\..\xbmc\cores\AudioEngine\;..\..\addons\library.kodi.guilib;..\..\addons\library.xbmc.addon;..\..\addons\library.xbmc.pvr;..\..\addons\library.xbmc.codec;shaders;..\..\lib\gtest\include;..\..\tools\depends\native\libsquish-native\src;%(AdditionalIncludeDirectories);XBMC\$(Configuration);..\..\addons\library.xbmc.adsp</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\;..\..\xbmc\;..\..\xbmc\cores\VideoPlayer;..\..\xbmc\platform\win32;..\..\lib;..\..\lib\win32\ffmpeg\include;..\..\lib\libUPnP;..\..\lib\libUPnP\Platinum\Source\Devices\MediaRenderer;..\..\lib\libUPnP\Platinum\Source\Devices\MediaConnect;..\..\lib\libUPnP\Platinum\Source\Devices\MediaServer;..\..\lib\libUPnP\Platinum\Source\Platinum;..\..\lib\libUPnP\Platinum\Source\Core;..\..\lib\libUPnP\Platinum\Source\Extras;..\..\lib\libUPnP\Neptune\Source\Core;..\..\lib\libUPnP\Neptune\Source\System\Win32;..\..\lib\win32\pcre;..\..\lib\win32\Effects11\inc;..\..\lib\win32;..\..\xbmc\cores\AudioEngine\;..\..\addons\library.kodi.guilib;..\..\addons\library.xbmc.addon;..\..\addons\library.xbmc.pvr;..\..\addons\library.xbmc.codec;shaders;..\..\lib\gtest\include;..\..\tools\depends\native\libsquish-native\src;%(AdditionalIncludeDirectories);XBMC\$(Configuration);..\..\addons\library.xbmc.adsp</AdditionalIncludeDirectories> <PreprocessorDefinitions>_CONSOLE;NOMINMAX;_USE_32BIT_TIME_T;HAS_DX;D3D_DEBUG_INFO;__STDC_CONSTANT_MACROS;_SECURE_SCL=0;TAGLIB_STATIC;NPT_CONFIG_ENABLE_LOGGING;PLT_HTTP_DEFAULT_USER_AGENT="UPnP/1.0 DLNADOC/1.50 Kodi";PLT_HTTP_DEFAULT_SERVER="UPnP/1.0 DLNADOC/1.50 Kodi";%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling>Async</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> @@ -156,7 +156,7 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>..\..\;..\..\xbmc\;..\..\xbmc\cores\VideoPlayer;..\..\xbmc\win32;..\..\lib;..\..\lib\win32\ffmpeg\include;..\..\lib\libUPnP;..\..\lib\libUPnP\Platinum\Source\Devices\MediaRenderer;..\..\lib\libUPnP\Platinum\Source\Devices\MediaConnect;..\..\lib\libUPnP\Platinum\Source\Devices\MediaServer;..\..\lib\libUPnP\Platinum\Source\Platinum;..\..\lib\libUPnP\Platinum\Source\Core;..\..\lib\libUPnP\Platinum\Source\Extras;..\..\lib\libUPnP\Neptune\Source\Core;..\..\lib\libUPnP\Neptune\Source\System\Win32;..\..\lib\win32\pcre;..\..\lib\win32\Effects11\inc;..\..\lib\win32;..\..\xbmc\cores\AudioEngine\;..\..\addons\library.kodi.guilib;..\..\addons\library.xbmc.addon;..\..\addons\library.xbmc.pvr;..\..\addons\library.xbmc.codec;shaders;..\..\tools\depends\native\libsquish-native\src;%(AdditionalIncludeDirectories);XBMC\$(Configuration);..\..\addons\library.xbmc.adsp</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\;..\..\xbmc\;..\..\xbmc\cores\VideoPlayer;..\..\xbmc\platform\win32;..\..\lib;..\..\lib\win32\ffmpeg\include;..\..\lib\libUPnP;..\..\lib\libUPnP\Platinum\Source\Devices\MediaRenderer;..\..\lib\libUPnP\Platinum\Source\Devices\MediaConnect;..\..\lib\libUPnP\Platinum\Source\Devices\MediaServer;..\..\lib\libUPnP\Platinum\Source\Platinum;..\..\lib\libUPnP\Platinum\Source\Core;..\..\lib\libUPnP\Platinum\Source\Extras;..\..\lib\libUPnP\Neptune\Source\Core;..\..\lib\libUPnP\Neptune\Source\System\Win32;..\..\lib\win32\pcre;..\..\lib\win32\Effects11\inc;..\..\lib\win32;..\..\xbmc\cores\AudioEngine\;..\..\addons\library.kodi.guilib;..\..\addons\library.xbmc.addon;..\..\addons\library.xbmc.pvr;..\..\addons\library.xbmc.codec;shaders;..\..\tools\depends\native\libsquish-native\src;%(AdditionalIncludeDirectories);XBMC\$(Configuration);..\..\addons\library.xbmc.adsp</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_USE_32BIT_TIME_T;HAS_DX;__STDC_CONSTANT_MACROS;TAGLIB_STATIC;NPT_CONFIG_ENABLE_LOGGING;PLT_HTTP_DEFAULT_USER_AGENT="UPnP/1.0 DLNADOC/1.50 Kodi";PLT_HTTP_DEFAULT_SERVER="UPnP/1.0 DLNADOC/1.50 Kodi";%(PreprocessorDefinitions)</PreprocessorDefinitions> <ExceptionHandling>Async</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> @@ -1795,18 +1795,18 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> <ClCompile Include="..\..\xbmc\view\GUIViewState.cpp" /> <ClCompile Include="..\..\xbmc\view\ViewDatabase.cpp" /> <ClCompile Include="..\..\xbmc\view\ViewStateSettings.cpp" /> - <ClCompile Include="..\..\xbmc\win32\crts_caller.cpp" /> - <ClCompile Include="..\..\xbmc\win32\dxerr.cpp" /> - <ClCompile Include="..\..\xbmc\win32\pch.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\crts_caller.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\dxerr.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\pch.cpp"> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\stat_utf8.cpp" /> - <ClCompile Include="..\..\xbmc\win32\stdio_utf8.cpp" /> - <ClCompile Include="..\..\xbmc\win32\strverscmp.cpp" /> - <ClCompile Include="..\..\xbmc\win32\WIN32Util.cpp" /> - <ClCompile Include="..\..\xbmc\win32\WindowHelper.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\stat_utf8.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\stdio_utf8.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\strverscmp.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\WIN32Util.cpp" /> + <ClCompile Include="..\..\xbmc\platform\win32\WindowHelper.cpp" /> <ClCompile Include="..\..\xbmc\cores\VideoPlayer\DVDAudio.cpp" /> <ClCompile Include="..\..\xbmc\cores\VideoPlayer\DVDClock.cpp" /> <ClCompile Include="..\..\xbmc\cores\VideoPlayer\DVDDemuxSPU.cpp" /> @@ -2413,19 +2413,19 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> <ClInclude Include="..\..\xbmc\view\ViewDatabase.h" /> <ClInclude Include="..\..\xbmc\view\ViewState.h" /> <ClInclude Include="..\..\xbmc\view\ViewStateSettings.h" /> - <ClInclude Include="..\..\xbmc\win32\crts_caller.h" /> - <ClInclude Include="..\..\xbmc\win32\dxerr.h" /> - <ClInclude Include="..\..\xbmc\win32\IMMNotificationClient.h" /> - <ClInclude Include="..\..\xbmc\win32\pch.h" /> - <ClInclude Include="..\..\xbmc\win32\PlatformDefs.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\crts_caller.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\dxerr.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\IMMNotificationClient.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\pch.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\PlatformDefs.h" /> <ClInclude Include="..\..\xbmc\windows\GUIWindowSplash.h" /> <ClInclude Include="..\..\xbmc\XBDateTime.h" /> <ClInclude Include="..\..\xbmc\platform\XbmcContext.h" /> - <ClInclude Include="..\..\xbmc\win32\PlatformInclude.h" /> - <ClInclude Include="..\..\xbmc\win32\stat_utf8.h" /> - <ClInclude Include="..\..\xbmc\win32\stdio_utf8.h" /> - <ClInclude Include="..\..\xbmc\win32\WIN32Util.h" /> - <ClInclude Include="..\..\xbmc\win32\WindowHelper.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\PlatformInclude.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\stat_utf8.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\stdio_utf8.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\WIN32Util.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\WindowHelper.h" /> <ClInclude Include="..\..\xbmc\cores\IPlayer.h" /> <ClInclude Include="..\..\xbmc\cores\VideoPlayer\DVDAudio.h" /> <ClInclude Include="..\..\xbmc\cores\VideoPlayer\DVDClock.h" /> @@ -2595,7 +2595,7 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> <ClInclude Include="..\..\xbmc\XBApplicationEx.h" /> </ItemGroup> <ItemGroup> - <ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc"> + <ResourceCompile Include="..\..\xbmc\platform\win32\XBMC_PC.rc"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'">true</ExcludedFromBuild> <AdditionalIncludeDirectories>..\..\tools\windows\packaging\media;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ResourceCompile> @@ -2743,7 +2743,7 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'">%(RelativeDir)..\ServiceDescription.h</Outputs> <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(RelativeDir)..\ServiceDescription.h</Outputs> </CustomBuild> - <CustomBuild Include="..\..\xbmc\win32\git_revision.t"> + <CustomBuild Include="..\..\xbmc\platform\win32\git_revision.t"> <FileType>Document</FileType> <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CALL update_git_rev.bat</Command> <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Retrieving the git revision</Message> @@ -2756,7 +2756,7 @@ copy "..\Win32BuildSetup\dependencies\python27.dll" "$(TargetDir)"</Command> <CustomBuild Include="..\..\version.txt"> <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CALL ..\..\tools\windows\CompileInfo.bat</Command> <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating CompileInfo.cpp</Message> - <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\xbmc\CompileInfo.cpp;..\..\xbmc\win32\XBMC_PC.rc</Outputs> + <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\xbmc\CompileInfo.cpp;..\..\xbmc\platform\win32\XBMC_PC.rc</Outputs> <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CALL ..\..\tools\windows\CompileInfo.bat</Command> <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating CompileInfo.cpp</Message> <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\xbmc\CompileInfo.cpp</Outputs> diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters index df510dba33..e59468b15e 100644 --- a/project/VS2010Express/XBMC.vcxproj.filters +++ b/project/VS2010Express/XBMC.vcxproj.filters @@ -450,16 +450,16 @@ </Filter> </ItemGroup> <ItemGroup> - <ClCompile Include="..\..\xbmc\win32\pch.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\pch.cpp"> <Filter>win32</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\strverscmp.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\strverscmp.cpp"> <Filter>win32</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\WIN32Util.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\WIN32Util.cpp"> <Filter>win32</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\WindowHelper.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\WindowHelper.cpp"> <Filter>win32</Filter> </ClCompile> <ClCompile Include="..\..\xbmc\cores\VideoPlayer\DVDAudio.cpp"> @@ -1644,10 +1644,10 @@ <ClCompile Include="..\..\xbmc\utils\TextSearch.cpp"> <Filter>utils</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\stdio_utf8.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\stdio_utf8.cpp"> <Filter>win32</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\stat_utf8.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\stat_utf8.cpp"> <Filter>win32</Filter> </ClCompile> <ClCompile Include="..\..\xbmc\pvr\windows\GUIWindowPVRBase.cpp"> @@ -2917,7 +2917,7 @@ <ClCompile Include="..\..\xbmc\utils\HttpRangeUtils.cpp"> <Filter>utils</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\crts_caller.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\crts_caller.cpp"> <Filter>win32</Filter> </ClCompile> <ClCompile Include="..\..\xbmc\network\httprequesthandler\HTTPFileHandler.cpp"> @@ -3053,7 +3053,7 @@ <ClCompile Include="..\..\xbmc\pvr\timers\PVRTimerType.cpp"> <Filter>pvr\timers</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\win32\dxerr.cpp"> + <ClCompile Include="..\..\xbmc\platform\win32\dxerr.cpp"> <Filter>win32</Filter> </ClCompile> <ClCompile Include="..\..\xbmc\network\dacp\dacp.cpp"> @@ -3451,16 +3451,16 @@ </ClCompile> </ItemGroup> <ItemGroup> - <ClInclude Include="..\..\xbmc\win32\pch.h"> + <ClInclude Include="..\..\xbmc\platform\win32\pch.h"> <Filter>win32</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\PlatformDefs.h"> + <ClInclude Include="..\..\xbmc\platform\win32\PlatformDefs.h"> <Filter>win32</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\WIN32Util.h"> + <ClInclude Include="..\..\xbmc\platform\win32\WIN32Util.h"> <Filter>win32</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\WindowHelper.h"> + <ClInclude Include="..\..\xbmc\platform\win32\WindowHelper.h"> <Filter>win32</Filter> </ClInclude> <ClInclude Include="..\..\xbmc\cores\IPlayer.h"> @@ -4818,10 +4818,10 @@ <ClInclude Include="..\..\xbmc\utils\TextSearch.h"> <Filter>utils</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\stdio_utf8.h"> + <ClInclude Include="..\..\xbmc\platform\win32\stdio_utf8.h"> <Filter>win32</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\stat_utf8.h"> + <ClInclude Include="..\..\xbmc\platform\win32\stat_utf8.h"> <Filter>win32</Filter> </ClInclude> <ClInclude Include="..\..\xbmc\pvr\windows\GUIWindowPVRBase.h"> @@ -5838,7 +5838,7 @@ <ClInclude Include="..\..\xbmc\interfaces\json-rpc\ProfilesOperations.h"> <Filter>interfaces\json-rpc</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\PlatformInclude.h" /> + <ClInclude Include="..\..\xbmc\platform\win32\PlatformInclude.h" /> <ClInclude Include="..\..\xbmc\cores\AudioEngine\Engines\ActiveAE\ActiveAE.h"> <Filter>cores\AudioEngine\Engines\ActiveAE</Filter> </ClInclude> @@ -5947,7 +5947,7 @@ <ClInclude Include="..\..\xbmc\utils\XSLTUtils.h"> <Filter>utils</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\IMMNotificationClient.h"> + <ClInclude Include="..\..\xbmc\platform\win32\IMMNotificationClient.h"> <Filter>win32</Filter> </ClInclude> <ClInclude Include="..\..\xbmc\cores\FFmpeg.h"> @@ -6017,7 +6017,7 @@ <ClInclude Include="..\..\xbmc\cores\DataCacheCore.h"> <Filter>cores</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\crts_caller.h"> + <ClInclude Include="..\..\xbmc\platform\win32\crts_caller.h"> <Filter>win32</Filter> </ClInclude> <ClInclude Include="..\..\xbmc\filesystem\OverrideDirectory.h"> @@ -6161,7 +6161,7 @@ <ClInclude Include="..\..\xbmc\pvr\timers\PVRTimerType.h"> <Filter>pvr\timers</Filter> </ClInclude> - <ClInclude Include="..\..\xbmc\win32\dxerr.h"> + <ClInclude Include="..\..\xbmc\platform\win32\dxerr.h"> <Filter>win32</Filter> </ClInclude> <ClInclude Include="..\..\xbmc\guiinfo\GUIInfoLabels.h"> @@ -6703,7 +6703,7 @@ </ClInclude> </ItemGroup> <ItemGroup> - <ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc"> + <ResourceCompile Include="..\..\xbmc\platform\win32\XBMC_PC.rc"> <Filter>win32</Filter> </ResourceCompile> </ItemGroup> @@ -6739,7 +6739,7 @@ <Filter>interfaces\json-rpc\schema</Filter> </CustomBuild> <CustomBuild Include="..\..\version.txt" /> - <CustomBuild Include="..\..\xbmc\win32\git_revision.t"> + <CustomBuild Include="..\..\xbmc\platform\win32\git_revision.t"> <Filter>win32</Filter> </CustomBuild> <CustomBuild Include="..\..\xbmc\interfaces\swig\AddonModuleXbmcwsgi.i"> diff --git a/project/VS2010Express/XbmcCommons.vcxproj b/project/VS2010Express/XbmcCommons.vcxproj index a22591d6eb..034ba54e83 100644 --- a/project/VS2010Express/XbmcCommons.vcxproj +++ b/project/VS2010Express/XbmcCommons.vcxproj @@ -72,7 +72,7 @@ </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\win32</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\platform\win32</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_LIB;_USE_32BIT_TIME_T;HAS_DX;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DisableSpecificWarnings>4800;4018;4146;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> @@ -82,7 +82,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> - <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\win32</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\platform\win32</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_LIB;_USE_32BIT_TIME_T;HAS_DX;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PrecompiledHeaderFile>commons.hpp</PrecompiledHeaderFile> <DebugInformationFormat> diff --git a/project/VS2010Express/XbmcThreads.vcxproj b/project/VS2010Express/XbmcThreads.vcxproj index 45ed2da4b9..aa18b88e3b 100644 --- a/project/VS2010Express/XbmcThreads.vcxproj +++ b/project/VS2010Express/XbmcThreads.vcxproj @@ -99,7 +99,7 @@ </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> - <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\win32</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\platform\win32</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_LIB;_XBMC;_USE_32BIT_TIME_T;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions> <DisableSpecificWarnings>4800;4018;4146;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> <ExceptionHandling>Async</ExceptionHandling> @@ -112,7 +112,7 @@ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> - <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\win32</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>..\..\xbmc;..\..\xbmc\platform\win32</AdditionalIncludeDirectories> <PreprocessorDefinitions>NOMINMAX;_LIB;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PrecompiledHeaderFile>commons.hpp</PrecompiledHeaderFile> <DebugInformationFormat> diff --git a/project/cmake/CMakeLists.txt b/project/cmake/CMakeLists.txt index e46a4f8492..abcd85d3db 100644 --- a/project/cmake/CMakeLists.txt +++ b/project/cmake/CMakeLists.txt @@ -240,9 +240,9 @@ target_compile_options(compileinfo PRIVATE "${SYSTEM_DEFINES}") # RC File if(WIN32) - configure_file(${CORE_SOURCE_DIR}/xbmc/win32/XBMC_PC.rc.in - ${CORE_BUILD_DIR}/xbmc/win32/XBMC_PC.rc @ONLY) - add_library(resources OBJECT ${CORE_BUILD_DIR}/xbmc/win32/XBMC_PC.rc) + configure_file(${CORE_SOURCE_DIR}/xbmc/platform/win32/XBMC_PC.rc.in + ${CORE_BUILD_DIR}/xbmc/platform/win32/XBMC_PC.rc @ONLY) + add_library(resources OBJECT ${CORE_BUILD_DIR}/xbmc/platform/win32/XBMC_PC.rc) target_include_directories(resources PRIVATE ${CORE_SOURCE_DIR}/tools/windows/packaging/media) set(RESOURCES $<TARGET_OBJECTS:resources>) endif() diff --git a/project/cmake/scripts/common/Macros.cmake b/project/cmake/scripts/common/Macros.cmake index b05b4a9332..0539939008 100644 --- a/project/cmake/scripts/common/Macros.cmake +++ b/project/cmake/scripts/common/Macros.cmake @@ -25,7 +25,7 @@ function(core_add_library name) # Add precompiled headers to Kodi main libraries if(CORE_SYSTEM_NAME STREQUAL windows AND CMAKE_CURRENT_LIST_DIR MATCHES "^${CORE_SOURCE_DIR}/xbmc") - add_precompiled_header(${name} pch.h ${CORE_SOURCE_DIR}/xbmc/win32/pch.cpp + add_precompiled_header(${name} pch.h ${CORE_SOURCE_DIR}/xbmc/platform/win32/pch.cpp PCH_TARGET kodi) endif() diff --git a/project/cmake/scripts/windows/ArchSetup.cmake b/project/cmake/scripts/windows/ArchSetup.cmake index 1edbf3f742..b912dcbe69 100644 --- a/project/cmake/scripts/windows/ArchSetup.cmake +++ b/project/cmake/scripts/windows/ArchSetup.cmake @@ -5,7 +5,7 @@ set(ARCH win32) # -------- Paths (mainly for find_package) --------- -set(PLATFORM_DIR win32) +set(PLATFORM_DIR platform/win32) # Precompiled headers fail with per target output directory. (needs CMake 3.1) set(PRECOMPILEDHEADER_DIR ${PROJECT_BINARY_DIR}/${CORE_BUILD_CONFIG}/objs) diff --git a/project/cmake/treedata/windows/subdirs.txt b/project/cmake/treedata/windows/subdirs.txt index 60c009530b..e52d2f6013 100644 --- a/project/cmake/treedata/windows/subdirs.txt +++ b/project/cmake/treedata/windows/subdirs.txt @@ -1,4 +1,4 @@ -xbmc/win32 win32support +xbmc/platform/win32 platform_win32 xbmc/input/windows input/windows xbmc/input/touch input/touch xbmc/input/touch/generic input/touch/generic @@ -9,7 +9,6 @@ xbmc/powermanagement/windows powermanagement/windows xbmc/storage/windows storage/windows xbmc/filesystem/win32 filesystem/win32 xbmc/utils/win32 utils_win32 -xbmc/platform/win32 platform_win32 xbmc/rendering/dx rendering_dx xbmc/threads/platform/win threads_win xbmc/windowing/windows windowing/windows |