-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS2017: clang-format-vs #189
Comments
boost build support VS2017 |
it appears that the issue with llvmformat_msvc and clangformat_install is that we patch clang-format-vs externpro-archive/clang@v3.9.0...xp3.9.0 to specifically work with Visual Studio 14 (aka 2015) clang-format-vs https://github.com/llvm-mirror/clang/tree/master/tools/clang-format-vs but now I'm considering how to do this: support both VS 2015 and VS 2017 with some kind of conditional patch support or via |
the current plan (thanks @ndrasmussen): build visual studio extension for either VS 2015 or VS 2017, but not both (at the same time) initially I will only build/install the extension if the cmake generator is VS 2015 (which will help me verify that everything else is building correctly with VS 2017) then I will update the clang patch https://github.com/smanders/externpro/blob/18.04.1/patches/clang.patch to support VS 2017 and then only build the extension if the cmake generator is VS 2017 -- if someone needs a VS 2015 clang-format extension they can get it from a current (18.04.1) or previous externpro install... |
* also update clang.patch with cherry-pick commits from upstream clang-format-vs * issue #189 (comment)
cherry-pick commit externpro-archive/clang@95e5b71#diff-5c3d2b45bd43872f6ee3ec5a95eb621a to support building clang-format VS extension with VS 2017 requires nuget.exe ("to pull in required assemblies" according to the commit message) |
when building externpro (with
The "Migration Report" (UpgradeLog.htm) has the message:
but when trying the link I get
if I open the ClangFormat.sln in
|
after a delay of several hours waiting for IT to give me temporary admin privileges (Microsoft, will you ever add something as useful as
again, opening the ClangFormat.sln in the source the Key.snk file in the project has a little warning icon next to it and when I attempt to open it:
looking in the project, it appears there is a
and when I search for "NETFX 4.6" in Windows Explorer I don't find anything on this development VM... so I suspect this the path the system can't find |
Searching for one interesting thing: https://stackoverflow.com/questions/37171351/where-is-the-visual-studio-macro-for-frameworksdkdir it appears to at least be someone's opinion that managed projects are not supposed to need the SDK and it's true that the FrameworkSDKDir does not show up in the Macros list (for me on this Windows 10 development VM) |
renamed title of issue as the commits referenced here will all be related to getting clang-format-vs to build with Visual Studio 2017 |
completed with commits to dev branch referenced above |
previous clang-format-vs (Visual Studio extension) issue #112 (which also has a lot of valuable history and information) |
projects that don't build with Visual Studio 2017
projects that depend on these
The text was updated successfully, but these errors were encountered: