1f4a2713aSLionel SambucThis directory contains a VSPackage project to generate a Visual Studio extension 2f4a2713aSLionel Sambucfor clang-format. 3f4a2713aSLionel Sambuc 4f4a2713aSLionel SambucBuild prerequisites are: 5f4a2713aSLionel Sambuc- Visual Studio 2012 Professional 6*0a6a1f1dSLionel Sambuc- Visual Studio 2010 Professional 7*0a6a1f1dSLionel Sambuc- Visual Studio 2010 SDK. 8*0a6a1f1dSLionel Sambuc 9*0a6a1f1dSLionel SambucThe extension is built using CMake by setting BUILD_CLANG_FORMAT_VS_PLUGIN=ON 10*0a6a1f1dSLionel Sambucwhen configuring a Clang build, and building the clang_format_vsix target. 11*0a6a1f1dSLionel Sambuc 12*0a6a1f1dSLionel SambucThe CMake build will copy clang-format.exe and LICENSE.TXT into the ClangFormat/ 13*0a6a1f1dSLionel Sambucdirectory so they can be bundled with the plug-in, as well as creating 14*0a6a1f1dSLionel SambucClangFormat/source.extension.vsixmanifest. Once the plug-in has been built with 15*0a6a1f1dSLionel SambucCMake once, it can be built manually from the ClangFormat.sln solution in Visual 16*0a6a1f1dSLionel SambucStudio. 17