File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,16 @@ list(APPEND GC_SOURCES ${GC_HEADERS})
104
104
105
105
convert_to_absolute_path(GC_SOURCES ${GC_SOURCES} )
106
106
107
+ # clrgcexp is build with standalone+regions
108
+ if (CLR_CMAKE_TARGET_ARCH_ARM64 OR CLR_CMAKE_TARGET_ARCH_AMD64)
109
+ add_library_clr(clrgcexp SHARED ${GC_SOURCES} )
110
+ add_dependencies (clrgcexp eventing_headers)
111
+ target_link_libraries (clrgcexp PRIVATE ${GC_LINK_LIBRARIES} )
112
+ target_compile_definitions (clrgcexp PRIVATE -DUSE_REGIONS)
113
+ install_clr(TARGETS clrgcexp DESTINATIONS . COMPONENT runtime)
114
+ endif (CLR_CMAKE_TARGET_ARCH_ARM64 OR CLR_CMAKE_TARGET_ARCH_AMD64)
115
+
116
+ # clrgc is build with standalone+segments
107
117
add_library_clr(clrgc SHARED ${GC_SOURCES} )
108
118
add_dependencies (clrgc eventing_headers)
109
119
target_link_libraries (clrgc PRIVATE ${GC_LINK_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments