@@ -51,24 +51,6 @@ endif (CLR_CMAKE_TARGET_ARCH_AMD64)
5151target_compile_definitions (Runtime.ServerGC PRIVATE -DFEATURE_SVR_GC )
5252
5353if (CLR_CMAKE_TARGET_WIN32)
54- add_library (standalonegc-disabled.GuardCF STATIC ${STANDALONEGC_DISABLED_SOURCES} )
55- set_target_properties (standalonegc-disabled.GuardCF PROPERTIES CLR_CONTROL_FLOW_GUARD ON )
56- add_dependencies (standalonegc-disabled.GuardCF aot_eventing_headers )
57- add_dependencies (standalonegc-disabled.GuardCF aot_etw_headers )
58- add_library (standalonegc-enabled.GuardCF STATIC ${STANDALONEGC_ENABLED_SOURCES} )
59- set_target_properties (standalonegc-enabled.GuardCF PROPERTIES CLR_CONTROL_FLOW_GUARD ON )
60- add_dependencies (standalonegc-enabled.GuardCF aot_eventing_headers )
61- add_dependencies (standalonegc-enabled.GuardCF aot_etw_headers )
62- add_library (Runtime.ServerGC.GuardCF STATIC ${COMMON_RUNTIME_SOURCES} ${FULL_RUNTIME_SOURCES} ${RUNTIME_SOURCES_ARCH_ASM} ${SERVER_GC_SOURCES} ${RUNTIME_ARCH_ASM_OBJECTS} )
63- target_compile_definitions (Runtime.ServerGC.GuardCF PRIVATE -DFEATURE_SVR_GC )
64- set_target_properties (Runtime.ServerGC.GuardCF PROPERTIES CLR_CONTROL_FLOW_GUARD ON )
65- target_link_libraries (Runtime.ServerGC.GuardCF PRIVATE aotminipal )
66-
67- if (CLR_CMAKE_TARGET_ARCH_AMD64)
68- add_library (Runtime.VxsortEnabled.GuardCF STATIC ${VXSORT_SOURCES} )
69- set_target_properties (Runtime.VxsortEnabled.GuardCF PROPERTIES CLR_CONTROL_FLOW_GUARD ON )
70- endif (CLR_CMAKE_TARGET_ARCH_AMD64 )
71-
7254 set_target_properties (aotminipal PROPERTIES
7355 COMPILE_PDB_NAME "aotminipal"
7456 COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} /$<CONFIG >" )
@@ -115,25 +97,13 @@ add_custom_target(
11597
11698add_dependencies (Runtime.WorkstationGC RuntimeAsmHelpers )
11799add_dependencies (Runtime.ServerGC RuntimeAsmHelpers )
118- if (CLR_CMAKE_TARGET_WIN32)
119- add_dependencies (Runtime.ServerGC.GuardCF RuntimeAsmHelpers )
120- endif (CLR_CMAKE_TARGET_WIN32 )
121100
122101install_static_library (Runtime.WorkstationGC aotsdk nativeaot )
123102install_static_library (Runtime.ServerGC aotsdk nativeaot )
124103install_static_library (standalonegc-disabled aotsdk nativeaot )
125104install_static_library (standalonegc-enabled aotsdk nativeaot )
126105install_static_library (aotminipal aotsdk nativeaot )
127- if (CLR_CMAKE_TARGET_WIN32)
128- install_static_library (Runtime.ServerGC.GuardCF aotsdk nativeaot )
129- add_dependencies (Runtime.ServerGC.GuardCF aot_eventing_headers )
130- install_static_library (standalonegc-disabled.GuardCF aotsdk nativeaot )
131- install_static_library (standalonegc-enabled.GuardCF aotsdk nativeaot )
132- endif (CLR_CMAKE_TARGET_WIN32 )
133106if (CLR_CMAKE_TARGET_ARCH_AMD64)
134107 install_static_library (Runtime.VxsortEnabled aotsdk nativeaot )
135108 install_static_library (Runtime.VxsortDisabled aotsdk nativeaot )
136- if (CLR_CMAKE_TARGET_WIN32)
137- install_static_library (Runtime.VxsortEnabled.GuardCF aotsdk nativeaot )
138- endif (CLR_CMAKE_TARGET_WIN32 )
139109endif (CLR_CMAKE_TARGET_ARCH_AMD64 )
0 commit comments