2013-11-22 16:00:20 +08:00
|
|
|
This directory contains a VSPackage project to generate a Visual Studio extension
|
2013-09-05 00:11:46 +08:00
|
|
|
for clang-format.
|
|
|
|
|
|
|
|
Build prerequisites are:
|
2015-12-09 01:54:27 +08:00
|
|
|
- Visual Studio 2013 Professional
|
|
|
|
- Visual Studio 2013 SDK
|
|
|
|
- Visual Studio 2010 Professional (?)
|
|
|
|
- Visual Studio 2010 SDK (?)
|
2013-12-03 01:31:52 +08:00
|
|
|
|
2014-08-02 01:38:53 +08:00
|
|
|
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.
|
2013-12-04 02:02:51 +08:00
|
|
|
|
2014-08-02 01:38:53 +08:00
|
|
|
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.
|