[cfe-dev] Clang 3.5 Release Pre-Pre-Pre-Announcement
Aaron Ballman
aaron at aaronballman.com
Tue Jun 3 14:28:49 PDT 2014
On Tue, Jun 3, 2014 at 5:13 PM, Richard <legalize at xmission.com> wrote:
>
> In article <CAAt6xTtpUJdD747X2A80oqcqvu1cW0i-R3NXSQ_B-7jgkq7p6Q at mail.gmail.com>,
> Aaron Ballman <aaron at aaronballman.com> writes:
>
>> On Tue, Jun 3, 2014 at 2:00 PM, Hans Wennborg <hans at chromium.org> wrote:
>> > Yes, we do this to avoid shipping the redistributable with the
>> > toolchain. Can you set USE_CRT_RELEASE =MT in your standalone build?
>> > That's what I use to build with /MT.
>>
>> Doesn't this then requires consumers to also build with /MT when they
>> want to use clang as a library?
>
> Yes, it does. It's worse than just a choice between static and
> dynamic, however. You also don't want to mix release and debug runtimes.
> So that brings us to 4 combinations.
Thank you for confirming my recollections!
Personally, I think that if someone wants a debug version of the
libraries, they can build it themselves (we can do release/release
with symbols, but that doesn't affect the build switch in question). I
really do not think we should use /MT for the prebuilt SDK binaries;
that's the least-friendly option because it requires our users to
strictly adhere to our build settings. If we wanted to package with
multiple builds, that's a whole different story.
> I tried to figure out how to get CMake to build multiple
> configurations and package them in a single package, but haven't had
> much luck yet as I'm still a CMake n00b.
Thank you for your efforts on this!
~Aaron
More information about the cfe-dev
mailing list