Code Monkey home page Code Monkey logo

llvm-vs2017-integration's Introduction

LLVM Visual Studio 2017 Integration

NOTE: This repository is no longer active as Microsoft even have an updated integration now for the current versions of Visual Studio. Please look at any of the forks around if you still wish to use this or be aware that there is no support under this code.

This repository contains Visual Studio 2017 integration for various LLVM versions.

Pull requests for new versions are welcome, just create a branch and adjust the configuration.

How to use it?

Simply fork the branch related to your version

LLVM Version Branch
5.0.0 v5.0
6.0.0 v6.0
7.0.0 v7.0
8.0.0 v8.0

Automatic Installation

Open a command prompt with Administrator rights (DO NOT OPEN AutoSetup.bat with admin rights it won't load the files)

Go to the folder where AutoSetup.bat exists and type "AutoSetup"

Manual Installation (If Automatic dosen't work)

Go to "[Your Visual Studio Installation Directory]\Common7\IDE\VC\VCTargets\Platforms"

Performing x86 Toolset installation
  • Go to Win32\PlatformToolset
  • Create 2 folders called LLVM-vs2017 and LLVM-vs2017_xp
  • Go to LLVM-vs2017
  • Copy all files that starts with Toolset-llvm-vs2017-x86
  • Rename the name of all this files (not the extensions) into Toolset
  • Now go to LLVM-vs2017_xp
  • Copy all files that starts with Toolset-llvm-vs2017-xp-x86
  • Rename the name of all this files (not the extensions) into Toolset
Performing x64 Toolset installation
  • Go to x64\PlatformToolset
  • Create 2 folders called LLVM-vs2017 and LLVM-vs2017_xp
  • Go to LLVM-vs2017
  • Copy all files that starts with Toolset-llvm-vs2017-x64
  • Rename the name of all this files (not the extensions) into Toolset
  • Now go to LLVM-vs2017_xp
  • Copy all files that starts with Toolset-llvm-vs2017-xp-x64
  • Rename the name of all this files (not the extensions) into Toolset

LICENSE

Released under Uol-NCSA (Same license as LLVM)

llvm-vs2017-integration's People

Contributors

arves100 avatar sp3eder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

llvm-vs2017-integration's Issues

clang-cl not used in llvm >= 7.0.0

Changing the version number as in #5 works for 6.0.0, but it does not work for future versions like 7.0.0 (or the 8.0.0 nightlies). When building, MSVC uses cl.exe instead of clang-cl.exe.

What defined clang-cl as the compiler in these scripts?

LLVM[clang] version

собственно, в описании не указанно что версия должна быть 5.0 либо пути к либам и хидерам пусть исправлют

Actually, the description does not specify that the version should be 5.0 and the paths to the libs and hiders are not true

...\clang\5.0
clang\5.0.0

AutoSetup.bat copies x64 files into Win32 folder

The following 4 lines (34-37) need to be corrected, changing Win32 into x64 :

copy Toolset-llvm-vs2017-x64.props "%VS_PROOT_DIR%\Win32\PlatformToolsets\LLVM-vs2017\Toolset.props"
copy Toolset-llvm-vs2017-x64.targets "%VS_PROOT_DIR%\Win32\PlatformToolsets\LLVM-vs2017\Toolset.targets"
copy Toolset-llvm-vs2017-xp-x64.props "%VS_PROOT_DIR%\Win32\PlatformToolsets\LLVM-vs2017_xp\Toolset.props"
copy Toolset-llvm-vs2017-xp-x64.targets "%VS_PROOT_DIR%\Win32\PlatformToolsets\LLVM-vs2017_xp\Toolset.targets"

Configuration for different LLVMs

I'm aware of creating a macro or fetching LLVM version automaticly with Visual Studio template.
Perheaps this could fix several problems with path and multiple LLVM version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.