DescriptionCreate 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
Committed: https://crrev.com/964b1666ed2178c3f9242ef140ed16c94df24edd
Cr-Commit-Position: refs/heads/master@{#421596}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Patch v2 #Patch Set 3 : Fix assignments #
Total comments: 1
Patch Set 4 : Fix another brainfart #
Messages
Total messages: 15 (5 generated)
|