first commit

This commit is contained in:
flowerstonezl
2026-06-09 16:50:28 +08:00
commit 70f675a48b
93 changed files with 3802 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# 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
$<BUILD_INTERFACE:${include_dir}>
$<INSTALL_INTERFACE:include>
)
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()