[PATCH] CMake: enable building the clang-format vs plugin

Manuel Klimek klimek at google.com
Tue Dec 3 00:43:27 PST 2013


  Cool, I think this is exactly the way to go... (since afaik devenv is the only way to build a vsix extension)


================
Comment at: tools/clang-format-vs/CMakeLists.txt:10
@@ +9,3 @@
+  add_custom_target(clang_format_vsix ALL
+      devenv "${CMAKE_CURRENT_SOURCE_DIR}/ClangFormat.sln" /Build Release
+      DEPENDS clang_format_exe_for_vsix
----------------
Will that go to the right devenv regardless of the msvc version cmake uses? Otherwise I'd surround this by if (MSVC12)...


http://llvm-reviews.chandlerc.com/D2310



More information about the cfe-commits mailing list