summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-format-vs
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-01 17:38:53 +0000
committerHans Wennborg <hans@hanshq.net>2014-08-01 17:38:53 +0000
commit5e6d2b410dc605f74a22cd02eb309a73e8cea2d3 (patch)
tree4aa3c4bd16f38c11550a50c741837dbc3e1a84a9 /clang/tools/clang-format-vs
parent541d7e747a9db60bc9ec81f422b907a2a6ab4402 (diff)
downloadbcm5719-llvm-5e6d2b410dc605f74a22cd02eb309a73e8cea2d3.tar.gz
bcm5719-llvm-5e6d2b410dc605f74a22cd02eb309a73e8cea2d3.zip
Update build instructions for the clang-format VS plugin
llvm-svn: 214529
Diffstat (limited to 'clang/tools/clang-format-vs')
-rw-r--r--clang/tools/clang-format-vs/README.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/tools/clang-format-vs/README.txt b/clang/tools/clang-format-vs/README.txt
index b87df6e9237..636b89f3c67 100644
--- a/clang/tools/clang-format-vs/README.txt
+++ b/clang/tools/clang-format-vs/README.txt
@@ -6,8 +6,11 @@ Build prerequisites are:
- Visual Studio 2010 Professional
- Visual Studio 2010 SDK.
-clang-format.exe must be copied into the ClangFormat/ directory before building.
-It will be bundled into the .vsix file.
+The extension is built using CMake by setting BUILD_CLANG_FORMAT_VS_PLUGIN=ON
+when configuring a Clang build, and building the clang_format_vsix target.
-The extension can be built manually from ClangFormat.sln (e.g. by opening it in
-Visual Studio), or with cmake by setting the BUILD_CLANG_FORMAT_VS_PLUGIN flag.
+The CMake build will copy clang-format.exe and LICENSE.TXT into the ClangFormat/
+directory so they can be bundled with the plug-in, as well as creating
+ClangFormat/source.extension.vsixmanifest. Once the plug-in has been built with
+CMake once, it can be built manually from the ClangFormat.sln solution in Visual
+Studio.
OpenPOWER on IntegriCloud