2016-04-21 16:40:25 +03:00
|
|
|
<!--
|
|
|
|
***********************************************************************************************
|
|
|
|
Xamarin.Mac.Common.props
|
|
|
|
|
|
|
|
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
|
|
|
|
created a backup copy. Incorrect changes to this file will make it
|
|
|
|
impossible to load or build your projects from the command-line or the IDE.
|
|
|
|
|
|
|
|
This file defines default properties for iOS projects.
|
|
|
|
|
|
|
|
Copyright (C) 2013-2014 Xamarin. All rights reserved.
|
|
|
|
***********************************************************************************************
|
|
|
|
-->
|
|
|
|
|
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
|
|
|
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.props"
|
|
|
|
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).Before.props')"/>
|
|
|
|
|
|
|
|
<!-- This is used to determine whether Xamarin.Mac.Common.targets needs to import
|
|
|
|
Xamarin.Mac.Common.props itself, or whether it has been imported previously,
|
|
|
|
e.g. by the project itself. -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<_XamarinCommonPropsHasBeenImported>true</_XamarinCommonPropsHasBeenImported>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- When looking for related files to copy, look for Mono debugging files as well -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<AllowedReferenceRelatedFileExtensions>
|
|
|
|
$(AllowedReferenceRelatedFileExtensions);
|
|
|
|
.dll.mdb;
|
|
|
|
.exe.mdb
|
|
|
|
</AllowedReferenceRelatedFileExtensions>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<EnableCodeSigning Condition="'$(EnableCodeSigning)' == ''">false</EnableCodeSigning>
|
|
|
|
<CodeSigningKey Condition="'$(CodeSigningKey)' == ''"></CodeSigningKey>
|
|
|
|
<CodeSignProvision Condition="'$(CodeSignProvision)' == ''"></CodeSignProvision>
|
|
|
|
<CodeSignEntitlements Condition="'$(CodeSignEntitlements)' == ''"></CodeSignEntitlements>
|
|
|
|
<CodeSignResourceRules Condition="'$(CodeSignResourceRules)' == ''"></CodeSignResourceRules>
|
|
|
|
<CodeSignExtraArgs Condition="'$(CodeSignExtraArgs)' == ''"></CodeSignExtraArgs>
|
|
|
|
<CreatePackage Condition="'$(CreatePackage)' == ''">false</CreatePackage>
|
|
|
|
<HttpClientHandler Condition="'$(HttpClientHandler)' == ''">HttpClientHandler</HttpClientHandler>
|
|
|
|
<EnablePackageSigning Condition="'$(EnablePackageSigning)' == ''">false</EnablePackageSigning>
|
|
|
|
<PackageSigningKey Condition="'$(PackageSigningKey)' == ''"></PackageSigningKey>
|
|
|
|
<ProductDefinition Condition="'$(ProductDefinition)' == ''"></ProductDefinition>
|
|
|
|
<PackagingExtraArgs Condition="'$(PackagingExtraArgs)' == ''"></PackagingExtraArgs>
|
|
|
|
<I18n Condition="'$(I18n)' == ''"></I18n>
|
|
|
|
<IncludeMonoRuntime Condition="'$(IncludeMonoRuntime)' == ''">true</IncludeMonoRuntime>
|
|
|
|
<MonoBundlingExtraArgs Condition="'$(MonoBundlingExtraArgs)' == ''"></MonoBundlingExtraArgs>
|
|
|
|
<TlsProvider Condition="'$(TlsProvider)' == ''">Default</TlsProvider>
|
|
|
|
<LinkMode Condition="'$(LinkMode)' == ''">None</LinkMode>
|
|
|
|
<XamMacArch Condition="'$(XamMacArch)' == ''">x86_64</XamMacArch>
|
|
|
|
<MonoMacResourcePrefix Condition="'$(MonoMacResourcePrefix)' == ''">Resources</MonoMacResourcePrefix>
|
|
|
|
<XamMacResourcePrefix Condition="'$(XamMacResourcePrefix)' == ''">$(MonoMacResourcePrefix)</XamMacResourcePrefix>
|
2016-05-26 00:20:33 +03:00
|
|
|
<IsAppExtension Condition="'$(IsAppExtension)' == ''">False</IsAppExtension>
|
2016-04-21 16:40:25 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-06-06 22:30:34 +03:00
|
|
|
<PropertyGroup>
|
[msbuild] Rename and unify to IsMacEnabled (#193)
* [msbuild] Rename and unify to IsMacEnabled
We previously had an MtouchTargetsEnabled and a separate
IsMacTargetsEnabled for iOS and XM, when both actually
meant the same thing: is a Mac enabled for building this
project?
Note that instead of "targets", we make it more generic,
since the condition can be used in a task, a property
group or whatever really, not just to enable/disable
certain targets.
Also, we call it Enabled, rather than Connected or
Available, since it's more natural to think that all such
tasks/targets are enabled when you're building locally
on the Mac. Connected wouldn't have been appropriate, and
Available would be confusing.
For backwards compatibility I've kepd the old MtouchTargetsEnabled
pointing to IsMacEnabled. We'll change our Windows targets
accordingly to also unify this property and how/where it's
set.
* [msbuild] Use full condition comparison for robustness
This is the proper way to use a boolean in a condition, and
prevents errors whenever the property is an empty string or
anything other than a boolean value.
2016-06-16 20:14:43 +03:00
|
|
|
<IsMacEnabled>true</IsMacEnabled>
|
2016-06-06 22:30:34 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2016-04-21 16:40:25 +03:00
|
|
|
<Import Project="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.props"
|
|
|
|
Condition="Exists('$(MSBuildThisFileDirectory)$(MSBuildThisFileName).After.props')"/>
|
|
|
|
|
|
|
|
</Project>
|