diff options
author | Miguel Costa <miguel.costa@qt.io> | 2018-11-23 18:07:43 +0100 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2018-11-28 09:45:13 +0000 |
commit | 1ffd6fc620195523dc29173780cc92373454928a (patch) | |
tree | d2d951b5d44820ab9de9f1cc6fe4f65dcada60f7 /src/config/12.0/source.extension.vsixmanifest_TT | |
parent | e2445defc5a80667a4afc5f9edf1f52845f25e81 (diff) |
Automate change of version number
Before this patch, there were 40+ different locations in the source
files where the version number was stored. The version number is now
defined in a single source file as the property $(QtVSToolsVersion).
Other sources that use the version string are then generated from
corresponding templates using the template engine included in Visual
Studio (Text Template Transformation Toolkit, or T4). Projects that
integrate with the Qt VS Tools will also have access to the version
definition property.
Change-Id: Ib3a372c6f0e0c446eef98b4fa26b58e1565bb025
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/config/12.0/source.extension.vsixmanifest_TT')
-rw-r--r-- | src/config/12.0/source.extension.vsixmanifest_TT | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/src/config/12.0/source.extension.vsixmanifest_TT b/src/config/12.0/source.extension.vsixmanifest_TT new file mode 100644 index 00000000..ca17f5fa --- /dev/null +++ b/src/config/12.0/source.extension.vsixmanifest_TT @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ***************************************************************************** + ** + ** Copyright (C) 2017 The Qt Company Ltd. + ** Contact: https://www.qt.io/licensing/ + ** + ** This file is part of the Qt VS Tools. + ** + ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ + ** Commercial License Usage + ** Licensees holding valid commercial Qt licenses may use this file in + ** accordance with the commercial license agreement provided with the + ** Software or, alternatively, in accordance with the terms contained in + ** a written agreement between you and The Qt Company. For licensing terms + ** and conditions see https://www.qt.io/terms-conditions. For further + ** information use the contact form at https://www.qt.io/contact-us. + ** + ** GNU General Public License Usage + ** Alternatively, this file may be used under the terms of the GNU + ** General Public License version 3 as published by the Free Software + ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT + ** included in the packaging of this file. Please review the following + ** information to ensure the GNU General Public License requirements will + ** be met: https://www.gnu.org/licenses/gpl-3.0.html. + ** + ** $QT_END_LICENSE$ + ** + ***************************************************************************** +<#@output extension="vsixmanifest" #> +<#@include file="$(SolutionDir)\version.tt" #> + ** <#=WARNING_GENERATED_FILE#> + ***************************************************************************** +--> + +<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" + xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011"> + <Metadata> + <!-- BEGIN Generated Text <#=XML_COMMENT_END#> + <Identity + Id="QtVsTools.15021976-cd02-4fd0-89bd-e36f85abe16a" + Version="<#=QT_VS_TOOLS_VERSION#>" + Language="en-US" + Publisher="The Qt Company Ltd." /> + <#=XML_COMMENT_BEGIN#> END Generated Text --> + <DisplayName>Qt Visual Studio Tools</DisplayName> + <Description xml:space="preserve">The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools.</Description> + <MoreInfo>http://www.qt.io</MoreInfo> + <License>LICENSE.GPL3-EXCEPT</License> + <ReleaseNotes>Changelog</ReleaseNotes> + <Icon>qt.ico</Icon> + <PreviewImage>preview.png</PreviewImage> + </Metadata> + <Installation InstalledByMsi="false"> + <InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[12.0]" /> + <InstallationTarget Id="Microsoft.VisualStudio.Premium" Version="[12.0]" /> + <InstallationTarget Id="Microsoft.VisualStudio.Ultimate" Version="[12.0]" /> + <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[12.0]" /> + </Installation> + <Dependencies> + <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" /> + </Dependencies> + <Assets> + <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" + Path="|%CurrentProject%;PkgdefProjectOutputGroup|" /> + <Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" + Path="|%CurrentProject%|" /> + <Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="QtAppWrapper" Path="|QtAppWrapper|" AssemblyName="|QtAppWrapper;AssemblyName|" /> + <Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="QtProjectWizard" Path="|QtProjectWizard|" AssemblyName="|QtProjectWizard;AssemblyName|" /> + <Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Console" d:TargetPath="|Console;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" /> + <Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Gui" d:TargetPath="|Gui;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" /> + <Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Lib" d:TargetPath="|Lib;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" /> + <Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Server" d:TargetPath="|Server;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" /> + <Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Designer" d:TargetPath="|Designer;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" /> + <Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="Resource" d:TargetPath="|Resource;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" /> + <Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="DialogButtonBottom" d:TargetPath="|DialogButtonBottom;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" /> + <Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="DialogButtonRight" d:TargetPath="|DialogButtonRight;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" /> + <Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="MainWindow" d:TargetPath="|MainWindow;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" /> + <Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="Project" d:ProjectName="Widget" d:TargetPath="|Widget;TemplateProjectOutputGroup|" Path="ItemTemplates" d:VsixSubPath="ItemTemplates" /> + <Asset Type="File" d:Source="File" Path="qt5.natvis.xml" /> + <Asset Type="File" + d:Source="File" + Path="x64\SQLite.Interop.dll" + d:VsixSubPath="x64" /> + <Asset Type="file" + d:Source="File" + Path="x86\SQLite.Interop.dll" + d:VsixSubPath="x86" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qt.props" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qt.targets" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" d:VsixSubPath="qtmsbuild" + Path="qtmsbuild\qt_tasks.targets" /> + <Asset Type="File" d:Source="File" d:VsixSubPath="qtmsbuild" + Path="qtmsbuild\qt_globals.targets" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtmoc.targets" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtqml.targets" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtrcc.targets" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtuic.targets" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtmoc.xml" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtrcc.xml" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmsbuild\qtuic.xml" d:VsixSubPath="qtmsbuild" /> + <Asset Type="File" d:Source="File" Path="qtmodules.xml" /> + <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="File" Path="QtVsTools.Qml.Debug.pkgdef" /> + </Assets> +</PackageManifest> |