Giter Site home page Giter Site logo

ccf's People

Contributors

dutow avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

ccf's Issues

Using CLang with MinGW64 on Windows

Hello,

I saw the issue Add support for Clang targeting MSVC ABI but with GNU-like command line.

I'm also trying to be able to use CLang (Based on 6.0.1) properly in Windows under 3 use cases:

  1. With MSVC Generator
    I can't achieve this since no matter what I do when -G"Visual Studio 15 2017 Win64" CMake ignore the other variables (-D CMAKE_C_COMPILER=clang-cl -D CMAKE_CXX_COMPILER=clang-cl ..) and use cl for compiling.
  2. With Ninja Generator
    If I use x64 Native Tools Command Prompt for VS 2017 I'm able, using the Ninja Generator to use Clang (cmake -G"Ninja" -D CMAKE_C_COMPILER=clang-cl.exe -D CMAKE_CXX_COMPILER=clang-cl.exe -D CMAKE_LINKER=lld-link.exe ..). Yet If I try from different CMD it won't work (Do you know which system variables are needed to configure it correctly?).
  3. With MinGW Generator
    I can't make it work with MinGW generator as, by default, clang on windows is targeting MSVC ABI and MSVC flag style. I wonder how can one configure CMake to use clang in MinGW configuration for this generator.

Any ideas on that?

Thank You.

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.