Merge pull request #13245 from pgavlin/NoExpandIndex
[platform/upstream/coreclr.git] / clrfeatures.cmake
1 if(CLR_CMAKE_TARGET_TIZEN_LINUX)
2   set(FEATURE_EVENT_TRACE 0)
3 endif()
4
5 if(FEATURE_STANDALONE_GC_ONLY)
6   set(FEATURE_EVENT_TRACE 0)
7   set(FEATURE_APPDOMAIN_RESOURCE_MONITORING 0)
8 endif()
9
10 if(NOT DEFINED FEATURE_EVENT_TRACE)
11   if (WIN32)
12     set(FEATURE_EVENT_TRACE 1)
13   endif()
14
15   if(CLR_CMAKE_PLATFORM_LINUX)
16     if(CLR_CMAKE_TARGET_ARCH_AMD64)
17       set(FEATURE_EVENT_TRACE 1)
18     elseif(CLR_CMAKE_TARGET_ARCH_ARM)
19       set(FEATURE_EVENT_TRACE 1)
20     endif()
21   endif(CLR_CMAKE_PLATFORM_LINUX)
22 endif(NOT DEFINED FEATURE_EVENT_TRACE)
23
24 if(NOT DEFINED FEATURE_DBGIPC)
25   if(CLR_CMAKE_PLATFORM_UNIX AND (NOT CLR_CMAKE_PLATFORM_ANDROID))
26     set(FEATURE_DBGIPC 1)
27   endif()
28 endif(NOT DEFINED FEATURE_DBGIPC)
29
30 if(NOT DEFINED FEATURE_INTERPRETER)
31   set(FEATURE_INTERPRETER 0)
32 endif(NOT DEFINED FEATURE_INTERPRETER)
33 if(NOT WIN32)
34   if(NOT DEFINED FEATURE_NI_BIND_FALLBACK)
35     if(NOT CLR_CMAKE_TARGET_ARCH_AMD64 AND NOT CLR_CMAKE_TARGET_ARCH_ARM64)
36       set(FEATURE_NI_BIND_FALLBACK 1)
37     endif()
38   endif(NOT DEFINED FEATURE_NI_BIND_FALLBACK)
39 endif(NOT WIN32)
40
41 if(NOT DEFINED FEATURE_APPDOMAIN_RESOURCE_MONITORING)
42   set(FEATURE_APPDOMAIN_RESOURCE_MONITORING 1)
43 endif(NOT DEFINED FEATURE_APPDOMAIN_RESOURCE_MONITORING)
44