diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-07-21 21:48:06 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-07-21 21:48:06 +0000 |
commit | 586448763eb9d2369c04f5cdbff0ecff9751a0f9 (patch) | |
tree | d1d1ea33edb19baf5ef282cc380851dbde24512c /clang/tools/clang-format-vs/ClangFormat | |
parent | a89ad664b1bd732581a11af290315c8d3be91d71 (diff) | |
download | bcm5719-llvm-586448763eb9d2369c04f5cdbff0ecff9751a0f9.tar.gz bcm5719-llvm-586448763eb9d2369c04f5cdbff0ecff9751a0f9.zip |
clang-format vs plugin: set version number from cmake (PR20307)
Previously it was hard-coded to 1.0, which meant the installer would
not install the plugin over previous versions.
This commit makes us use LLVM's major.minor.patch version from cmake,
or whatever CLANG_FORMAT_VS_VERSION is set to when configuring the build.
It's pretty dirty to update a configuration file in the source directory
from the cmake build like this. However, the plugin build is already
dirty in this regard since it builds in the source dir when visual studio,
and then copies out the resulting vsix.
llvm-svn: 213584
Diffstat (limited to 'clang/tools/clang-format-vs/ClangFormat')
-rw-r--r-- | clang/tools/clang-format-vs/ClangFormat/source.extension.vsixmanifest | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/clang/tools/clang-format-vs/ClangFormat/source.extension.vsixmanifest b/clang/tools/clang-format-vs/ClangFormat/source.extension.vsixmanifest deleted file mode 100644 index 39d30f0f15e..00000000000 --- a/clang/tools/clang-format-vs/ClangFormat/source.extension.vsixmanifest +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Vsix Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
- <Identifier Id="20dbc914-1c7a-4992-b236-ef58b37850eb">
- <Name>ClangFormat</Name>
- <Author>LLVM</Author>
- <Version>1.0</Version>
- <Description xml:space="preserve">Information about my package</Description>
- <Locale>1033</Locale>
- <InstalledByMsi>false</InstalledByMsi>
- <SupportedProducts>
- <VisualStudio Version="10.0">
- <Edition>Pro</Edition>
- </VisualStudio>
- <VisualStudio Version="11.0">
- <Edition>Pro</Edition>
- </VisualStudio>
- <VisualStudio Version="12.0">
- <Edition>Pro</Edition>
- </VisualStudio>
- </SupportedProducts>
- <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
- </Identifier>
- <References>
- <Reference Id="Microsoft.VisualStudio.MPF" MinVersion="10.0">
- <Name>Visual Studio MPF</Name>
- </Reference>
- </References>
- <Content>
- <VsPackage>|%CurrentProject%;PkgdefProjectOutputGroup|</VsPackage>
- </Content>
-</Vsix>
|