未指定 -s 时自动在 build/ 文件夹查找 sln 文件。解析 cpp 标准,未指定 cpp 标准时默认 cpp20。默认配置从 Debug|Win32 改为 Debug|x64。添加 go-releaser 自动发布。#4
Open
hatrd wants to merge 6 commits intopaopaol:masterfrom
Open
未指定 -s 时自动在 build/ 文件夹查找 sln 文件。解析 cpp 标准,未指定 cpp 标准时默认 cpp20。默认配置从 Debug|Win32 改为 Debug|x64。添加 go-releaser 自动发布。#4hatrd wants to merge 6 commits intopaopaol:masterfrom
hatrd wants to merge 6 commits intopaopaol:masterfrom
Conversation
- 在 ClCompile 结构体中新增 LanguageStandard 和 ConformanceMode 字段 - 修改 FindConfig 方法以返回 C++ 标准信息 - 添加 getCppStandardFlag 函数,将 Visual Studio 的语言标准映射到 clang-cl 的标准选项 - 更新 CompileCommandsJson 方法,在编译命令中添加 C++ 标准选项
- 将 C++ 标准选项从 "-std=c++*" 修改为 "/std:c++*" - 适配 clang-cl.exe 编译器的参数格式
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
写挺杂的,或许上游有用呢。