]> granicus.if.org Git - clang/commitdiff
Update build instructions for the clang-format VS plugin
authorHans Wennborg <hans@hanshq.net>
Fri, 1 Aug 2014 17:38:53 +0000 (17:38 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 1 Aug 2014 17:38:53 +0000 (17:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214529 91177308-0d34-0410-b5e6-96231b3b80d8

tools/clang-format-vs/README.txt

index b87df6e92379d6b21ebe1e097430216e7be41cfa..636b89f3c673616b802e21873a0aaaec18dbc323 100644 (file)
@@ -6,8 +6,11 @@ Build prerequisites are:
 - Visual Studio 2010 Professional\r
 - Visual Studio 2010 SDK.\r
 \r
-clang-format.exe must be copied into the ClangFormat/ directory before building.\r
-It will be bundled into the .vsix file.\r
+The extension is built using CMake by setting BUILD_CLANG_FORMAT_VS_PLUGIN=ON\r
+when configuring a Clang build, and building the clang_format_vsix target.\r
 \r
-The extension can be built manually from ClangFormat.sln (e.g. by opening it in\r
-Visual Studio), or with cmake by setting the BUILD_CLANG_FORMAT_VS_PLUGIN flag.\r
+The CMake build will copy clang-format.exe and LICENSE.TXT into the ClangFormat/\r
+directory so they can be bundled with the plug-in, as well as creating\r
+ClangFormat/source.extension.vsixmanifest. Once the plug-in has been built with\r
+CMake once, it can be built manually from the ClangFormat.sln solution in Visual\r
+Studio.\r