用dll要把h文件也要加进来,代码文件里面引用.h
CMakeList.txt中加入
include_directories(${CMAKE_SOURCE_DIR}/path/to/headers)
target_link_libraries(graph union_set.dll)
用dll要把h文件也要加进来,代码文件里面引用.h
CMakeList.txt中加入
include_directories(${CMAKE_SOURCE_DIR}/path/to/headers)
target_link_libraries(graph union_set.dll)
文章最后更新时间为:2024年05月24日 11时
comment 评论区
star_outline 咱快来抢个沙发吧!