forked from dotnet/coreclr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clrfeatures.cmake
48 lines (41 loc) · 1.33 KB
/
clrfeatures.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
if(CLR_CMAKE_TARGET_TIZEN_LINUX)
set(FEATURE_GDBJIT_LANGID_CS 1)
endif()
if(FEATURE_STANDALONE_GC_ONLY)
set(FEATURE_EVENT_TRACE 0)
set(FEATURE_APPDOMAIN_RESOURCE_MONITORING 0)
endif()
if(NOT DEFINED FEATURE_EVENT_TRACE)
if (WIN32)
set(FEATURE_EVENT_TRACE 1)
endif()
if(CLR_CMAKE_PLATFORM_LINUX)
if(CLR_CMAKE_TARGET_TIZEN_LINUX)
set(FEATURE_EVENT_TRACE 1)
elseif(CLR_CMAKE_TARGET_ARCH_AMD64)
set(FEATURE_EVENT_TRACE 1)
elseif(CLR_CMAKE_TARGET_ARCH_ARM)
set(FEATURE_EVENT_TRACE 1)
elseif(CLR_CMAKE_TARGET_ARCH_ARM64)
set(FEATURE_EVENT_TRACE 1)
endif()
endif(CLR_CMAKE_PLATFORM_LINUX)
endif(NOT DEFINED FEATURE_EVENT_TRACE)
if(NOT DEFINED FEATURE_DBGIPC)
if(CLR_CMAKE_PLATFORM_UNIX AND (NOT CLR_CMAKE_PLATFORM_ANDROID))
set(FEATURE_DBGIPC 1)
endif()
endif(NOT DEFINED FEATURE_DBGIPC)
if(NOT DEFINED FEATURE_INTERPRETER)
set(FEATURE_INTERPRETER 0)
endif(NOT DEFINED FEATURE_INTERPRETER)
if(NOT WIN32)
if(NOT DEFINED FEATURE_NI_BIND_FALLBACK)
if(NOT CLR_CMAKE_TARGET_ARCH_AMD64 AND NOT CLR_CMAKE_TARGET_ARCH_ARM64)
set(FEATURE_NI_BIND_FALLBACK 1)
endif()
endif(NOT DEFINED FEATURE_NI_BIND_FALLBACK)
endif(NOT WIN32)
if(NOT DEFINED FEATURE_APPDOMAIN_RESOURCE_MONITORING)
set(FEATURE_APPDOMAIN_RESOURCE_MONITORING 1)
endif(NOT DEFINED FEATURE_APPDOMAIN_RESOURCE_MONITORING)