Page MenuHomePhabricator

[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
AcceptedPublic

Authored by igorban on Wed, Sep 4, 7:43 AM.

Details

Summary

[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library

Modify LLVMConfig to produce LLVM_USE_CRT variables in build-directory. It helps to set the same compiler debug options like in builded library.

Diff Detail

Repository
rL LLVM

Event Timeline

igorban created this revision.Wed, Sep 4, 7:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Sep 4, 7:43 AM

Excuse me, I have add to reviewers people, who review this file. Add relative people, if needed, please.
This change helps to build library and user-tool with same flags.

RKSimon added a reviewer: rnk.Thu, Sep 5, 2:18 PM
rnk accepted this revision.Thu, Sep 5, 3:32 PM

lgtm, it's in the LLVM_ namespace, so it couldn't hurt to record it.

This revision is now accepted and ready to land.Thu, Sep 5, 3:32 PM