1add_definitions(-DUSE_CONFIG_UV_THREADS -DSIZE_THREAD_POOL=16 -DJS_JDWP_CONNECT -DTEST_HASH -DHDC_MSG_HASH="TEST" -DHDC_BUILD_VARIANT_USER) 2 3AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_LIST_DIR} DAEMON_SRCS) 4AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_LIST_DIR}/../common COMMON_SRCS) 5 6link_libraries(uv crypto 7 ${ohos_top}/out/sdk/clang_x64/obj/third_party/bounds_checking_function/libsec_static.a) 8 9add_executable(hdcd ${COMMON_SRCS} ${DAEMON_SRCS}) 10