首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
CMake install c++头文件
CMake install c++头文件
mac
2025-01-29
20
在cmake制作动态库的时候如果你需要把头文件一起发布用下面命令
set
(
INSTALL_HEAD_FILES test.h
)
install
(
FILES
${INSTALL_HEAD_FILES}
DESTINATION
${CMAKE_INSTALL_PREFIX}
/include
)
转载请注明原文地址: https://mac.8miu.com/read-499953.html
最新回复
(
0
)