diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-04-18 03:21:45 +0900 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2017-04-17 11:21:45 -0700 |
commit | 6097e8a7632ab2790d02302e6f722e168557a50f (patch) | |
tree | 8ebd6ce81a48c12e1eff260205acec5196c4025c /clrfeatures.cmake | |
parent | bd9cd4206ef5abb9b0a4741fc7d970b40bfed44b (diff) | |
download | coreclr-6097e8a7632ab2790d02302e6f722e168557a50f.tar.gz coreclr-6097e8a7632ab2790d02302e6f722e168557a50f.tar.bz2 coreclr-6097e8a7632ab2790d02302e6f722e168557a50f.zip |
Support FEATURE_EVENT_TRACE override (#10961)
Diffstat (limited to 'clrfeatures.cmake')
-rw-r--r-- | clrfeatures.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/clrfeatures.cmake b/clrfeatures.cmake new file mode 100644 index 0000000000..0cbd585bb1 --- /dev/null +++ b/clrfeatures.cmake @@ -0,0 +1,17 @@ +if(CLR_CMAKE_TARGET_TIZEN_LINUX) + set(FEATURE_EVENT_TRACE 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_ARCH_AMD64) + set(FEATURE_EVENT_TRACE 1) + elseif(CLR_CMAKE_TARGET_ARCH_ARM) + set(FEATURE_EVENT_TRACE 1) + endif() + endif(CLR_CMAKE_PLATFORM_LINUX) +endif(NOT DEFINED FEATURE_EVENT_TRACE) |