Clion调用dll
用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)