[PATCH] clang-cl: Support the run-time selection options (/ML, /MD, /MT et al.)

Hans Wennborg hans at chromium.org
Wed Aug 7 16:38:39 PDT 2013


  Maybe it's better to avoid the hack of using a header and just pass the libraries to cc1 on the command-line.

  I thought this would be more invasive first, but it turned out to be pretty straight-forward. Let me know what you think.

Hi rnk,

http://llvm-reviews.chandlerc.com/D1315

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1315?vs=3261&id=3266#toc

Files:
  include/clang/Driver/CC1Options.td
  include/clang/Driver/CLCompatOptions.td
  include/clang/Frontend/CodeGenOptions.h
  lib/CodeGen/ModuleBuilder.cpp
  lib/Driver/Tools.cpp
  lib/Driver/Tools.h
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/dependent-lib.c
  test/Driver/cl-runtime-flags.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1315.3.patch
Type: text/x-patch
Size: 8726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130807/e4493d35/attachment.bin>


More information about the cfe-commits mailing list