diff options
author | wsoltys <wiso@xbmc.org> | 2014-06-08 14:20:19 +0200 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2014-06-30 09:17:14 +0200 |
commit | 758f5044ca2f03738cc4e6e604991d3998d26a7a (patch) | |
tree | 5ff4336298bd9e700374b801b7011b74270ba2fd /project/VS2010Express | |
parent | 348b4695bd58f4020a20c9e34fbf427d8199f00a (diff) |
[WIN32] added automatic versioning (batch file done by wsnipex)
and generate addons/xbmc.addon/addon.xml in CompileInfo.bat, thx Montellese
Diffstat (limited to 'project/VS2010Express')
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj | 28 | ||||
-rw-r--r-- | project/VS2010Express/XBMC.vcxproj.filters | 4 |
2 files changed, 24 insertions, 8 deletions
diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj index 79e0219ebb..dc4db91222 100644 --- a/project/VS2010Express/XBMC.vcxproj +++ b/project/VS2010Express/XBMC.vcxproj @@ -193,6 +193,7 @@ <ClCompile Include="..\..\xbmc\Autorun.cpp" /> <ClCompile Include="..\..\xbmc\AutoSwitch.cpp" /> <ClCompile Include="..\..\xbmc\BackgroundInfoLoader.cpp" /> + <ClCompile Include="..\..\xbmc\CompileInfo.cpp" /> <ClCompile Include="..\..\xbmc\cores\AudioEngine\AEFactory.cpp" /> <ClCompile Include="..\..\xbmc\cores\AudioEngine\AESinkFactory.cpp" /> <ClCompile Include="..\..\xbmc\cores\AudioEngine\Encoders\AEEncoderFFmpeg.cpp" /> @@ -397,7 +398,6 @@ <ClCompile Include="..\..\xbmc\filesystem\ZipDirectory.cpp" /> <ClCompile Include="..\..\xbmc\filesystem\ZipFile.cpp" /> <ClCompile Include="..\..\xbmc\filesystem\ZipManager.cpp" /> - <ClCompile Include="..\..\xbmc\GitRevision.cpp" /> <ClCompile Include="..\..\xbmc\GUIInfoManager.cpp" /> <ClCompile Include="..\..\xbmc\GUILargeTextureManager.cpp" /> <ClCompile Include="..\..\xbmc\guilib\AnimatedGif.cpp" /> @@ -803,6 +803,13 @@ <ClInclude Include="..\..\xbmc\addons\AddonCallbacksCodec.h" /> <ClInclude Include="..\..\xbmc\ApplicationPlayer.h" /> <ClInclude Include="..\..\xbmc\AppParamParser.h" /> + <ClInclude Include="..\..\xbmc\CompileInfo.h" /> + <CustomBuild Include="..\..\xbmc\GitRevision.h"> + <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CALL update_git_rev.bat</Command> + <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\xbmc\win32\git_rev.h</Outputs> + <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\.git\HEAD;..\..\xbmc\win32\git_rev.tmpl</AdditionalInputs> + <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Retrieving the git revision</Message> + </CustomBuild> <ClInclude Include="..\..\xbmc\cores\AudioEngine\AEAudioFormat.h" /> <ClInclude Include="..\..\xbmc\cores\AudioEngine\AEFactory.h" /> <ClInclude Include="..\..\xbmc\cores\AudioEngine\AESinkFactory.h" /> @@ -850,12 +857,6 @@ <ClInclude Include="..\..\xbmc\filesystem\win32\Win32Directory.h" /> <ClInclude Include="..\..\xbmc\filesystem\windows\WINFileSMB.h" /> <ClInclude Include="..\..\xbmc\filesystem\windows\WINSMBDirectory.h" /> - <CustomBuild Include="..\..\xbmc\GitRevision.h"> - <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CALL update_git_rev.bat</Command> - <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\xbmc\win32\git_rev.h</Outputs> - <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\.git\HEAD;..\..\xbmc\win32\git_rev.tmpl</AdditionalInputs> - <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Retrieving the git revision</Message> - </CustomBuild> <ClInclude Include="..\..\xbmc\guilib\cximage.h" /> <ClInclude Include="..\..\xbmc\guilib\GUIKeyboard.h" /> <ClInclude Include="..\..\xbmc\guilib\GUIKeyboardFactory.h" /> @@ -2527,6 +2528,19 @@ </CustomBuild> <None Include="..\..\xbmc\interfaces\swig\ControlListAddItemMethods.i" /> </ItemGroup> + <ItemGroup> + <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</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> + <Command Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'">CALL ..\..\tools\windows\CompileInfo.bat</Command> + <Message Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'">Generating CompileInfo.cpp</Message> + <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug Testsuite|Win32'">..\..\xbmc\CompileInfo.cpp</Outputs> + </CustomBuild> + </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters index 29f08790c8..f3b13d25c1 100644 --- a/project/VS2010Express/XBMC.vcxproj.filters +++ b/project/VS2010Express/XBMC.vcxproj.filters @@ -2951,7 +2951,6 @@ <ClCompile Include="..\..\xbmc\interfaces\json-rpc\ProfilesOperations.cpp"> <Filter>interfaces\json-rpc</Filter> </ClCompile> - <ClCompile Include="..\..\xbmc\GitRevision.cpp" /> <ClCompile Include="..\..\xbmc\cores\AudioEngine\Engines\ActiveAE\ActiveAE.cpp"> <Filter>cores\AudioEngine\Engines\ActiveAE</Filter> </ClCompile> @@ -3071,6 +3070,7 @@ <ClCompile Include="..\..\xbmc\filesystem\win32\Win32Directory.cpp"> <Filter>filesystem\win32</Filter> </ClCompile> + <ClCompile Include="..\..\xbmc\CompileInfo.cpp" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\..\xbmc\win32\pch.h"> @@ -6021,6 +6021,7 @@ <ClInclude Include="..\..\xbmc\filesystem\win32\Win32Directory.h"> <Filter>filesystem\win32</Filter> </ClInclude> + <ClInclude Include="..\..\xbmc\CompileInfo.h" /> </ItemGroup> <ItemGroup> <ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc"> @@ -6059,6 +6060,7 @@ <CustomBuild Include="..\..\xbmc\interfaces\json-rpc\schema\license.txt"> <Filter>interfaces\json-rpc\schema</Filter> </CustomBuild> + <CustomBuild Include="..\..\version.txt" /> </ItemGroup> <ItemGroup> <None Include="..\..\xbmc\interfaces\swig\ControlListAddItemMethods.i"> |