# ROS-like package registration helper macro(softbus_package name) set(SOFTBUS_CURRENT_PACKAGE ${name}) endmacro() function(softbus_export_include target include_dir) target_include_directories(${target} PUBLIC $ $ ) endfunction() function(softbus_add_plugin target) set_target_properties(${target} PROPERTIES PREFIX "" OUTPUT_NAME ${target} ) if(WIN32) target_compile_definitions(${target} PRIVATE SOFTBUS_PLUGIN_EXPORTS) endif() endfunction()