Coder Social home page Coder Social logo

fafnir's Introduction

日本語

Fafnir

Clang MSBuild toolset for Visual Studio 2017

What's this?

This is a MSBuild toolset with LLVM Clang for Windows.

Requirements

  • Visual Studio 2017
  • Clang for Windows Download from the LLVM website and install it, or use the snapshot. You can also use one of your builds.

Usage

First, download the latest release. Its host architecture must be the same to that of Clang for Windows.

How to install

Run install.bat, and set the LLVM path and a toolset name. Administrator authority is required for installation. To use with CMake, the toolset name must match v[0-9]+_clang_.*.

How to use with Visual Studio IDE

Open the project property, select [Configuration Properties -> General] in the left list, select [Platform toolset] in [General] group, and select the toolset name that you set during the installation (the default name is v100_clang_fafnir). Then you can build the project using LLVM clang.

How to use with CMake

When you run cmake command, specify "Visual Studio 15 2017" or "Visual Studio 15 2017 Win64" to the option -G, specify the toolset name, that you set during the installation, to the option -T.

How to build Fafnir

The toolset installed by Fafnir is required to build Fafnir. Also, LLVM that supports C++17 must be used (e.g. the release binaries of Fafnir are built with the LLVM Snapshot Build). CMake is also required.

  • Build 64bit version
cmake -G "Visual Studio 15 2017 Win64" -T <installed Fafnir toolset> -DCMAKE_INSTALL_PREFIX=<path to install>
cmake --build . --config Release --target INSTALL
  • Build 32bit version
cmake -G "Visual Studio 15 2017" -T <installed Fafnir toolset> -DCMAKE_INSTALL_PREFIX=<path to install>
cmake --build . --config Release --target INSTALL

Run the above commands, and then you will find deployed files in the install path.

fafnir's People

Contributors

bherrera-reification avatar kazatsuyu avatar yumetodo avatar

Watchers

James Cloos avatar Keith Mertens avatar

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.