refactor(ci): enable EMU, Z3ED, and tools builds in CI and release workflows
- Updated CI and release workflows to enable building the emulator (YAZE_BUILD_EMU), Z3ED (YAZE_BUILD_Z3ED), and additional tools (YAZE_BUILD_TOOLS). - Ensured consistent build configurations across different platforms to enhance testing and deployment capabilities. Benefits: - Improves the completeness of builds in CI and release processes, facilitating better testing and integration of all components.
This commit is contained in:
@@ -147,18 +147,11 @@ if(YAZE_WITH_GRPC)
|
||||
)
|
||||
if(YAZE_PROTOBUF_TARGET)
|
||||
target_link_libraries(yaze_core_lib PUBLIC ${YAZE_PROTOBUF_TARGET})
|
||||
if(MSVC)
|
||||
target_link_options(yaze_core_lib PUBLIC /WHOLEARCHIVE:$<TARGET_FILE:${YAZE_PROTOBUF_TARGET}>)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# On Windows, force whole-archive linking for protobuf to ensure all symbols are included
|
||||
if(MSVC AND YAZE_PROTOBUF_TARGET)
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
target_link_options(yaze_core_lib PUBLIC
|
||||
/WHOLEARCHIVE:$<TARGET_FILE:${YAZE_PROTOBUF_TARGET}>)
|
||||
else()
|
||||
message(STATUS "○ Skipping /WHOLEARCHIVE for libprotobuf in yaze_core_lib (clang-cl)")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message(STATUS " - gRPC test harness + ROM service enabled")
|
||||
endif()
|
||||
|
||||
|
||||
@@ -86,14 +86,8 @@ if(YAZE_WITH_GRPC)
|
||||
)
|
||||
if(YAZE_PROTOBUF_TARGET)
|
||||
target_link_libraries(yaze_net PUBLIC ${YAZE_PROTOBUF_TARGET})
|
||||
endif()
|
||||
|
||||
# On Windows, force whole-archive linking for protobuf to ensure all symbols are included
|
||||
if(MSVC AND YAZE_PROTOBUF_TARGET)
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
if(MSVC)
|
||||
target_link_options(yaze_net PUBLIC /WHOLEARCHIVE:$<TARGET_FILE:${YAZE_PROTOBUF_TARGET}>)
|
||||
else()
|
||||
message(STATUS "○ Skipping /WHOLEARCHIVE for libprotobuf in yaze_net (clang-cl)")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user