summaryrefslogtreecommitdiff
path: root/clrdefinitions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'clrdefinitions.cmake')
-rw-r--r--clrdefinitions.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/clrdefinitions.cmake b/clrdefinitions.cmake
index 2ab424f949..5e12ca1e05 100644
--- a/clrdefinitions.cmake
+++ b/clrdefinitions.cmake
@@ -1,5 +1,14 @@
include(clrfeatures.cmake)
+# If set, indicates that this is not an officially supported release
+# Keep in sync with IsPrerelease in dir.props
+set(PRERELEASE 1)
+
+# Features we're currently flighting, but don't intend to ship in officially supported releases
+if (PRERELEASE)
+ add_definitions(-DFEATURE_DEFAULT_INTERFACES=1)
+endif (PRERELEASE)
+
if (CLR_CMAKE_TARGET_ARCH_AMD64)
if (CLR_CMAKE_PLATFORM_UNIX)
add_definitions(-DDBG_TARGET_AMD64_UNIX)