This change enables the FEATURE_READYTORUN for CoreCLR on Windows.
add_definitions(-DFEATURE_PREJIT)
if(WIN32)
add_definitions(-DFEATURE_RANDOMIZED_STRING_HASHING)
+ add_definitions(-DFEATURE_READYTORUN)
endif(WIN32)
add_definitions(-DFEATURE_STANDALONE_SN)
add_definitions(-DFEATURE_STRONGNAME_DELAY_SIGNING_ALLOWED)
if(WIN32)
add_definitions(-MT)
+ add_definitions(-DFEATURE_READYTORUN_COMPILER)
endif(WIN32)
clrtocomcall.cpp
comtoclrcall.cpp
rcwwalker.cpp
+ readytoruninfo.cpp
umthunkhash.cpp #" Condition="'$(FeatureMixedMode)' == 'true'
winrttypenameconverter.cpp
)
../CrossgenRoResolveNamespace.cpp
)
+if (WIN32)
+ list(APPEND VM_CROSSGEN_SOURCES
+ ../readytoruninfo.cpp
+ )
+endif (WIN32)
+
include_directories(BEFORE ..)
include_directories(${CLR_DIR}/src/gc)
include_directories(../amd64)
../nativeformatwriter.cpp
)
+if (WIN32)
+ list(APPEND ZAP_SOURCES
+ ../zapreadytorun.cpp
+ ../nativeformatwriter.cpp
+ )
+endif (WIN32)
+
add_precompiled_header(common.h ../common.cpp ZAP_SOURCES)
add_library(corzap_crossgen STATIC ${ZAP_SOURCES})