From c99f4cb8cd8e4513a3f298095c4da1b5567842ae Mon Sep 17 00:00:00 2001 From: ypc <15051963820@163.com> Date: Wed, 8 Jul 2026 13:47:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(libcomm):=20=E5=86=85=E9=83=A8=E5=A4=B4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20comm=5Finternal.h=20=E7=A7=BB=E8=87=B3=20i?= =?UTF-8?q?nc/=20=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - inc/ 统一存放所有头文件(公开 + 内部),src/ 仅放 .cpp - makefile: 移除 -I.../src 路径,仅保留 -I.../inc - copy_headers.sh 仅拷贝 myComm.h(公开头),不拷贝内部头 --- release/src/public/libcomm/makefile | 2 +- src/public/libcomm/{src => inc}/comm_internal.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/public/libcomm/{src => inc}/comm_internal.h (100%) diff --git a/release/src/public/libcomm/makefile b/release/src/public/libcomm/makefile index b7a6080..d1d1d6d 100644 --- a/release/src/public/libcomm/makefile +++ b/release/src/public/libcomm/makefile @@ -3,7 +3,7 @@ L := $(notdir $(realpath $(CURDIR)/..)) M := libcomm O := $(LIB_REL)/$(M).a S := $(SRC_ROOT_DIR)/$(L)/libcomm/src -I := -I$(SRC_ROOT_DIR)/$(L)/libcomm/inc -I$(SRC_ROOT_DIR)/$(L)/libcomm/src +I := -I$(SRC_ROOT_DIR)/$(L)/libcomm/inc B := $(CURDIR)/$(M)/obj SRCS := $(wildcard $(S)/*.cpp) OBJS := $(patsubst $(S)/%.cpp, $(B)/%.o, $(SRCS)) diff --git a/src/public/libcomm/src/comm_internal.h b/src/public/libcomm/inc/comm_internal.h similarity index 100% rename from src/public/libcomm/src/comm_internal.h rename to src/public/libcomm/inc/comm_internal.h