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
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:
@@ -41,7 +41,10 @@ check_cxx_source_compiles(
|
||||
HAVE_PTHREAD)
|
||||
|
||||
add_subdirectory(third_party/breakpad)
|
||||
add_subdirectory(third_party/microprofile)
|
||||
if(WITH_MICROPROFILE)
|
||||
add_subdirectory(third_party/microprofile)
|
||||
set(COMM_LINK_MICROPROFILE ON)
|
||||
endif()
|
||||
|
||||
CPMAddPackage(
|
||||
NAME oatpp
|
||||
@@ -58,6 +61,10 @@ CPMAddPackage(
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/spdlog
|
||||
FORCE)
|
||||
|
||||
if(WITH_EXAMPLES)
|
||||
cc_executable(microprofile_demo SRCS examples/microprofile_demo.cc)
|
||||
endif()
|
||||
|
||||
enable_testing()
|
||||
cc_test(
|
||||
calc_test
|
||||
@@ -71,14 +78,6 @@ cc_executable(
|
||||
SRCS src/breakpad_test.cc
|
||||
DEPS PUBLIC breakpad)
|
||||
|
||||
cc_executable(
|
||||
metric_server
|
||||
SRCS src/metric_server.cc
|
||||
DEPS PUBLIC
|
||||
prometheus-cpp::core
|
||||
prometheus-cpp::pull
|
||||
prometheus-cpp::push)
|
||||
|
||||
cc_benchmark(
|
||||
calc_benchmark
|
||||
SRCS src/calc_benchmark.cc
|
||||
|
Reference in New Issue
Block a user