${CMAKE_CURRENT_BINARY_DIR} 编译工程目录
file(COPY python/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/python/ FILES_MATCHING PATTERN "*.exe")
file(COPY python/Lib DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/python/)
file(COPY python/Libs DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/python/)
file(COPY SDK/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/SDK/ FILES_MATCHING PATTERN "*.dll" )configure_file(python/python3.dll ${CMAKE_CURRENT_BINARY_DIR}/python3.dll COPYONLY)
configure_file(python/python36.dll ${CMAKE_CURRENT_BINARY_DIR}/python36.dll COPYONLY)
file(COPY SDK/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/SDK/ FILES_MATCHING PATTERN "*.dll" )
SDK/原文件路径
${CMAKE_CURRENT_BINARY_DIR}/SDK/目标输出路径
FILES_MATCHING PATTERN "*.dll" 只拷贝后缀dll文件