Boost logo

Boost Users :

Subject: Re: [Boost-users] project-config.jam File for building Boost with LLVM toolchain?
From: Osman Zakir (osmanzakir90_at_[hidden])
Date: 2018-12-13 15:13:32


Never mind, I found it.

Anyway, just one more question: if I want to use VS2017, should I put "<compatibility>vc141", or "<compatibility>vc14.1"?

This is what the file looks like right now (I changed the version from 1915 to 1916 and kept the last line from the default configuration file ("option.set keep-going : false ;"):

"
import option ;
 â€‹
using clang-win : : "C:\\Program Files\\LLVM\\bin\\clang-cl.exe" -fuse-ld=lld : ​
    <compatibility>vc141 ​
    <compileflags>-fmsc-version=1916 ​
    <compileflags>-fms-compatibility ​
    <compileflags>-fno-delayed-template-parsing ​
    <compileflags>-flto=thin ​
    <cxxflags>"/std:c++17" ​
    <cxxflags>"/Zc:forScope" ​
    <cxxflags>"/Zc:wchar_t" ​
    <cxxflags>"/EHsc" ​
    <cxxflags>"/Zc:inline" ​
    <cxxflags>"/Gd" ​
    <cxxflags>"/diagnostics:classic" ​
    <cxxflags>-Wno-unknown-argument​
    <cxxflags>-Wno-unknown-pragmas​
    <cxxflags>-Wno-macro-redefined​
    <cxxflags>-Wno-unused-variable​
    <cxxflags>-Wno-mismatched-tags​
    <cxxflags>-Wno-deprecated-declarations​
    <cxxflags>-D_UNICODE ​
    <cxxflags>-DUNICODE ​
    <cxxflags>-DBOOST_USE_WINDOWS_H ​
    <cxxflags>-DBOOST_NO_ANSI_APIS ​
    <cxxflags>-DBOOST_USE_WINAPI_VERSION=0x1000 ​
    <cxxflags>-DBOOST_USE_WINDOWS_H=1 ​
    <cxxflags>-DNOMINMAX ​
    <cxxflags>-DWIN32_LEAN_AND_MEAN ​
    <cxxflags>-D_CRT_SECURE_NO_WARNINGS​
; ​
 â€‹
option.set keep-going : false ; ​
 â€‹"

________________________________
From: Osman Zakir <osmanzakir90_at_[hidden]>
Sent: Thursday, December 13, 2018 7:44 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] project-config.jam File for building Boost with LLVM toolchain?

I remember from a previous email thread that someone on this mailing list had given me a better configuration jamfile. I can't find it right now, so it'd be good if I could get that one again. It had a "using clang-win" line after the "import" command. And the <compatibility> tag, among some other things. I don't remember all of the commands, so I want to see it again.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net