Skip to content

Commit 5e6d2b4

Browse files
committed
Update build instructions for the clang-format VS plugin
llvm-svn: 214529
1 parent 541d7e7 commit 5e6d2b4

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

clang/tools/clang-format-vs/README.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ Build prerequisites are:
66
- Visual Studio 2010 Professional
77
- Visual Studio 2010 SDK.
88

9-
clang-format.exe must be copied into the ClangFormat/ directory before building.
10-
It will be bundled into the .vsix file.
9+
The extension is built using CMake by setting BUILD_CLANG_FORMAT_VS_PLUGIN=ON
10+
when configuring a Clang build, and building the clang_format_vsix target.
1111

12-
The extension can be built manually from ClangFormat.sln (e.g. by opening it in
13-
Visual Studio), or with cmake by setting the BUILD_CLANG_FORMAT_VS_PLUGIN flag.
12+
The CMake build will copy clang-format.exe and LICENSE.TXT into the ClangFormat/
13+
directory so they can be bundled with the plug-in, as well as creating
14+
ClangFormat/source.extension.vsixmanifest. Once the plug-in has been built with
15+
CMake once, it can be built manually from the ClangFormat.sln solution in Visual
16+
Studio.

0 commit comments

Comments
 (0)