feat add microprile examples
Some checks failed
sm-rpc / build (Release, host.gcc) (push) Failing after 11m15s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Failing after 11m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Failing after 11m50s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Failing after 12m3s
sm-rpc / build (Debug, host.gcc) (push) Failing after 12m13s
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Failing after 12m30s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Failing after 12m42s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Failing after 14m53s

This commit is contained in:
tqcq
2025-08-25 12:01:16 +08:00
parent c8b9782baa
commit a58517497b
4 changed files with 42 additions and 76 deletions

View File

@@ -5,6 +5,9 @@ function(comm_link TARGET_NAME)
if(COMM_LINK_PTHREAD)
target_link_libraries(${TARGET_NAME} PUBLIC pthread)
endif()
if(COMM_LINK_MICROPROFILE)
target_link_libraries(${TARGET_NAME} PUBLIC microprofile)
endif()
endfunction()
# cc_library(name STATIC SRCS a.c b.c DEPS PUBLIC pub_lib PRIVATE pri_lib)