Merge pull request #6859 from adiaaida/addNMakeOption
[platform/upstream/coreclr.git] / clr.coreclr.props
1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2   <PropertyGroup Condition="'$(ClrProduct)'=='core_clr'">
3     <BuildTypeRet Condition="'$(_BuildType)'=='ret'">true</BuildTypeRet>
4     <DebuggingSupported>true</DebuggingSupported>
5     <DebuggingSupportedBuild>true</DebuggingSupportedBuild>
6     <EnCSupported Condition="('$(TargetArch)' == 'i386') or ('$(TargetArch)' == 'amd64')">true</EnCSupported>
7     <EnableDownlevelForNls Condition="'$(CrossTargetArchitecture)' != ''">true</EnableDownlevelForNls>
8     <FeatureAppdomainResourceMonitoring>true</FeatureAppdomainResourceMonitoring>
9     <FeatureArrayStubAsIL Condition="('$(TargetArch)' == 'arm') or ('$(TargetArch)' == 'amd64') or ('$(TargetArch)' == 'arm64')">true</FeatureArrayStubAsIL>
10     <FeatureStubsAsIL Condition="'$(TargetArch)' == 'arm64'">true</FeatureStubsAsIL>
11     <FeatureBclFormatting>true</FeatureBclFormatting>
12     <FeatureCollectibleTypes>true</FeatureCollectibleTypes>
13     <FeatureCominteropApartmentSupport>true</FeatureCominteropApartmentSupport>
14     <FeatureCoreclr>true</FeatureCoreclr>
15     <FeatureCorruptingExceptions>true</FeatureCorruptingExceptions>
16     <FeatureDbiDebugging>true</FeatureDbiDebugging>
17     <FeatureDbiOopDebugging_HostLocal>false</FeatureDbiOopDebugging_HostLocal>
18     <FeatureDbiOopDebugging_HostWindowsx86 Condition="'$(TargetArch)' == 'i386' or '$(TargetArch)' == 'arm'">true</FeatureDbiOopDebugging_HostWindowsx86>
19     <FeatureDbiOopDebugging_HostWindowsamd64 Condition="'$(TargetArch)' == 'amd64' or '$(TargetArch)' == 'arm64'">true</FeatureDbiOopDebugging_HostWindowsamd64>
20     <FeatureDbiOopDebugging_HostOneCorex86 Condition="'$(TargetArch)' == 'i386' or '$(TargetArch)' == 'arm'">true</FeatureDbiOopDebugging_HostOneCorex86>
21     <FeatureDbiOopDebugging_HostOneCoreamd64 Condition="'$(TargetArch)' == 'amd64'">true</FeatureDbiOopDebugging_HostOneCoreamd64>
22     <FeatureEventTrace>true</FeatureEventTrace>
23     <FeatureExceptionDispatchInfo>true</FeatureExceptionDispatchInfo>
24     <FeatureFrameworkInternal>true</FeatureFrameworkInternal>
25     <FeatureHijack>true</FeatureHijack>
26     <FeatureInteropDebugging Condition="('$(TargetArch)' == 'i386') or ('$(TargetArch)' == 'amd64')">true</FeatureInteropDebugging>
27     <FeatureIsymReader>true</FeatureIsymReader>
28     <!-- This is here for testing purposes only, and only on checked builds for x86/ARM -->
29     <FeatureLazyCOWPages Condition="'$(_BuildType)'!='ret' and (('$(TargetArch)' == 'i386') or ('$(TargetArch)' == 'arm'))">true</FeatureLazyCOWPages>
30     <FeatureLoaderOptimization>true</FeatureLoaderOptimization>
31     <FeatureMainClrModuleUsesCoreName>true</FeatureMainClrModuleUsesCoreName>
32     <FeatureMergeCultureSupportAndEngine>true</FeatureMergeCultureSupportAndEngine>
33     <FeatureMergeJitAndEngine>true</FeatureMergeJitAndEngine>
34     <FeatureMulticoreJIT>true</FeatureMulticoreJIT>
35     <FeatureNormIdnaOnly>true</FeatureNormIdnaOnly>
36     <FeaturePrejit>true</FeaturePrejit>
37     <FeatureStandaloneSn>true</FeatureStandaloneSn>
38     <FeatureStrongnameDelaySigningAllowed>true</FeatureStrongnameDelaySigningAllowed>
39     <FeatureStrongnameMigration>true</FeatureStrongnameMigration>
40     <FeatureStrongnameTestkeyAllowed>true</FeatureStrongnameTestkeyAllowed>
41     <FeatureSyntheticCultures>true</FeatureSyntheticCultures>
42     <FeatureVersioning>true</FeatureVersioning>
43     <FeatureVersioningLog>true</FeatureVersioningLog>
44     <FeatureWin32Registry>true</FeatureWin32Registry>
45     <FeatureXPlatDacDebugging_HostWindowsx86 Condition="'$(TargetArch)' == 'i386' or '$(TargetArch)' == 'arm'">true</FeatureXPlatDacDebugging_HostWindowsx86>
46     <FeatureXPlatDacDebugging_HostWindowsAMD64 Condition="'$(TargetArch)' == 'amd64' or '$(TargetArch)' == 'arm64'">true</FeatureXPlatDacDebugging_HostWindowsAMD64>
47     <FeatureXPlatDacDebugging_HostOneCorex86 Condition="'$(TargetArch)' == 'i386' or '$(TargetArch)' == 'arm'">true</FeatureXPlatDacDebugging_HostOneCorex86>
48     <FeatureXPlatDacDebugging_HostOneCoreAMD64 Condition="'$(TargetArch)' == 'amd64'">true</FeatureXPlatDacDebugging_HostOneCoreAMD64>
49     <ProfilingSupportedBuild>true</ProfilingSupportedBuild>
50     <FeatureUseAsmGCWriteBarriers>true</FeatureUseAsmGCWriteBarriers>
51     <!-- Setting this to "false" works only for workstation GC, not server. -->
52     <FeatureSymDiff>true</FeatureSymDiff>
53     <FeatureReadyToRun Condition="'$(TargetArch)'!='arm64'">true</FeatureReadyToRun>
54
55     <FeatureCoreSystem>true</FeatureCoreSystem>
56     <FeatureClassicCominterop>true</FeatureClassicCominterop>
57     <FeatureCominterop>true</FeatureCominterop>
58     <FeatureICastable>true</FeatureICastable>
59     <FeatureCominteropUnmanagedActivation>true</FeatureCominteropUnmanagedActivation>
60     <FeatureCominteropWinRTManagedActivation>true</FeatureCominteropWinRTManagedActivation>
61     <FeatureHostAssemblyResolver>true</FeatureHostAssemblyResolver>
62     <FeatureLazyCOWPages Condition="('$(TargetArch)' == 'i386') or ('$(TargetArch)' == 'arm')">true</FeatureLazyCOWPages>
63     <FeatureRandomizedStringHashing>true</FeatureRandomizedStringHashing>
64     <!-- The rejit feature is available only on supported architectures (x86 & x64) -->
65     <FeatureReJIT Condition="('$(TargetArch)' == 'i386') or ('$(TargetArch)' == 'amd64')">true</FeatureReJIT>
66     <FeatureWindowsPhone>true</FeatureWindowsPhone>
67     <FeatureManagedEtw>true</FeatureManagedEtw>
68     <FeatureManagedEtwChannels>true</FeatureManagedEtwChannels>
69     <BinderDebugLog Condition="'$(_BuildType)'=='dbg'">true</BinderDebugLog>
70     <FeatureAppX>true</FeatureAppX>
71     <FeatureWinMDResilient>true</FeatureWinMDResilient>
72     <!-- 
73         FeatureImplicitTls has been verified to be functionally correct on x86 & amd64.
74         However there is still work to make it on par in terms of performance. So currently only
75         enabling for arm64 
76      -->
77     <FeatureImplicitTls Condition="'$(TargetArch)' == 'arm64'">true</FeatureImplicitTls>
78     <FeatureSvrGc Condition="'$(TargetArch)' != 'arm'">true</FeatureSvrGc>
79   </PropertyGroup>
80
81   <PropertyGroup Condition="'$(TargetsUnix)' == 'true'">
82     <FeaturePal>true</FeaturePal>
83     <FeatureXplatEventSource>true</FeatureXplatEventSource>
84
85     <FeatureStubsAsIL>true</FeatureStubsAsIL>
86
87     <!-- Windows specific features -->
88     <FeatureWin32Registry>false</FeatureWin32Registry>
89     <FeatureAppX>false</FeatureAppX>
90     <FeatureCominteropApartmentSupport>false</FeatureCominteropApartmentSupport>
91     <FeatureClassicCominterop>false</FeatureClassicCominterop>
92     <FeatureCominterop>false</FeatureCominterop>
93     <FeatureCominteropUnmanagedActivation>false</FeatureCominteropUnmanagedActivation>
94     <FeatureCominteropWinRTManagedActivation>false</FeatureCominteropWinRTManagedActivation>
95     <FeatureManagedEtw>false</FeatureManagedEtw>
96
97     <FeatureCoreFxGlobalization>true</FeatureCoreFxGlobalization>
98   </PropertyGroup>
99
100   <PropertyGroup Condition="'$(TargetsUnix)' != 'true'">
101     <FeatureUseLcid>true</FeatureUseLcid>
102     <FeatureImplicitLongPath>true</FeatureImplicitLongPath>
103   </PropertyGroup>
104 </Project>