forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create separate configurations for passing "/MD", "/MT" and their debug
variants: "dynamic_crt" passes "/MD" and "/MDd", whereas "static_crt" passes "/MT" and "/MTd". BUILDCONFIG then depends on "default_crt", which has some logic to choose whether to use either dynamic_crt or static_crt. The main reason behind this is to allow users to config -= the "default_crt" config: in gyp, it was possible to configure what was going to be passed to the compiler via the "win_{release,debug}_RuntimeLibrary" variable, which was useful when building code that needs to pass "/CLR", as it requires "/MD" and does not work with "/MT". R=brettw@chromium.org,dpranke@chromium.org,scottmg@chromium.org Review-Url: https://codereview.chromium.org/2379573003 Cr-Commit-Position: refs/heads/master@{#421596}
- Loading branch information
raphael.kubo.da.costa
authored and
Commit bot
committed
Sep 28, 2016
1 parent
6c0a80e
commit 964b166
Showing
2 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters