Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Haggard <weshaggard@users.noreply.github.com>2016-09-28 08:09:17 +0300
committerGitHub <noreply@github.com>2016-09-28 08:09:16 +0300
commit44c331b4e3943c9e6da01b16ecc2b0f91c7cc227 (patch)
tree5cce23cd8470363eba54d7b098ae4e6d9dd8253c /dir.props
parent2593123103e81df1f23306a4f7458b22a345d635 (diff)
parent8bd5d9718f10507e5284245d9870928dd61af9dd (diff)
Merge pull request #12110 from weshaggard/InitializeTargetsProperties
Always initialize Targets* properties to false
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props10
1 files changed, 10 insertions, 0 deletions
diff --git a/dir.props b/dir.props
index e1c22d4dc2..5e86e1f988 100644
--- a/dir.props
+++ b/dir.props
@@ -230,6 +230,16 @@
</Otherwise>
</Choose>
+ <!-- initialize all the targets variables to false as they should only be set below -->
+ <PropertyGroup>
+ <TargetsWindows>false</TargetsWindows>
+ <TargetsUnix>false</TargetsUnix>
+ <TargetsLinux>false</TargetsLinux>
+ <TargetsOSX>false</TargetsOSX>
+ <TargetsFreeBSD>false</TargetsFreeBSD>
+ <TargetsNetBSD>false</TargetsNetBSD>
+ </PropertyGroup>
+
<!-- Setup properties per OSGroup -->
<Choose>
<When Condition="'$(OSGroup)'=='AnyOS'">