xref: /aosp_15_r20/external/clang/tools/clang-format-vs/README.txt (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin LiThis directory contains a VSPackage project to generate a Visual Studio extension
2*67e74705SXin Lifor clang-format.
3*67e74705SXin Li
4*67e74705SXin LiBuild prerequisites are:
5*67e74705SXin Li- Visual Studio 2013 Professional
6*67e74705SXin Li- Visual Studio 2013 SDK
7*67e74705SXin Li- Visual Studio 2010 Professional (?)
8*67e74705SXin Li- Visual Studio 2010 SDK (?)
9*67e74705SXin Li
10*67e74705SXin LiThe extension is built using CMake by setting BUILD_CLANG_FORMAT_VS_PLUGIN=ON
11*67e74705SXin Liwhen configuring a Clang build, and building the clang_format_vsix target.
12*67e74705SXin Li
13*67e74705SXin LiThe CMake build will copy clang-format.exe and LICENSE.TXT into the ClangFormat/
14*67e74705SXin Lidirectory so they can be bundled with the plug-in, as well as creating
15*67e74705SXin LiClangFormat/source.extension.vsixmanifest. Once the plug-in has been built with
16*67e74705SXin LiCMake once, it can be built manually from the ClangFormat.sln solution in Visual
17*67e74705SXin LiStudio.
18