Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

请求增加clang-LLVM工具集支持 #34

Closed
hzqst opened this issue Jun 6, 2018 · 3 comments
Closed

请求增加clang-LLVM工具集支持 #34

hzqst opened this issue Jun 6, 2018 · 3 comments
Labels

Comments

@hzqst
Copy link

hzqst commented Jun 6, 2018

当前版本VC_LTL不支持LLVM工具集编译,我做了一些修改让VC-LTL强行支持:

1.\VCLTL\config\config.props

<!--计算机已经安装LLVM-->
<VC-LTLUsedToolsVersion Condition=" ('$(VC-LTLUsedToolsVersion)'=='') And ('$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM\LLVM'!='') ">14.0.24231</VC-LTLUsedToolsVersion>
<VC-LTLUsedToolsVersion Condition=" ('$(VC-LTLUsedToolsVersion)'=='') And ('$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM\LLVM'!='') " >14.0.24231</VC-LTLUsedToolsVersion>

<SupportPlatformToolsetNormal Condition="('$(SupportPlatformToolsetNormal)'=='') And ('$(PlatformToolset)'=='v140')">true</SupportPlatformToolsetNormal>
<SupportPlatformToolsetNormal Condition="('$(SupportPlatformToolsetNormal)'=='') And ('$(PlatformToolset)'=='v141')">true</SupportPlatformToolsetNorma>

<SupportPlatformToolsetNormal Condition="('$(SupportPlatformToolsetNormal)'=='') And ('$(PlatformToolset)'=='LLVM-vs2015_xp')">true</SupportPlatformToolsetNormal>
<SupportPlatformToolsetNormal Condition="('$(SupportPlatformToolsetNormal)'=='') And ('$(PlatformToolset)'=='LLVM-vs2017_xp')">true</SupportPlatformToolsetNormal>

<SupportPlatformToolsetNormal Condition="('$(SupportPlatformToolsetNormal)'=='') And ('$(PlatformToolset)'=='LLVM-vs2015')">true</SupportPlatformToolsetNormal>
<SupportPlatformToolsetNormal Condition="('$(SupportPlatformToolsetNormal)'=='') And ('$(PlatformToolset)'=='LLVM-vs2017')">true</SupportPlatformToolsetNormal>

2.修改\VCLTL_msvcrt.h为UTF-8编码

3.修改\VCLTL\ucrt\10.0.xxxxx.0\中头文件(如stdio.h)可能出现的unicode LTL提示文本,全部删除或修改为UTF8

@hzqst
Copy link
Author

hzqst commented Jun 6, 2018

以下是修改前和修改后的效果

VCLTL未启用
1

VCLTL启用
3

2

OLLVM编译的
4

@mingkuang-Chuyu
Copy link
Collaborator

谢谢支持,预览版已经支持
https://gitee.com/Chuyu-Team/VC-LTL/releases/3.0.0.4_Preview

@mingkuang-Chuyu
Copy link
Collaborator

同理 Clang with Microsoft CodeGen以及Clang 3.7 with Microsoft CodeGen也已经添加完成。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants