首页 > 编程知识 正文

protobuf在qt编译,cmake详细教程

时间:2023-05-04 05:19:47 阅读:27873 作者:281

33559www.cnblogs.com/dilex/p/11102152 .打开html cmake _ minimum _ required (版本2.8.11 fatal _ error ) set ) parsion全局mocset (cmake _ au autom ocset make_autorccon ) set )打开cmake _ build _ # # # #库文件# boostset (boost _ root $ {项目_ source _ } include/boost-1_64 ) set (boostjmdqz $ {项目_ source _ dir }/./3d part/PCL1.8.1/330 include _ direce 消息(boost found ) #else ) )消息) fatal_error'cannotfindboost ) ) #endif ) qtfind_package ) Qt5rereackage 官方文档#target_link_libraries (:指定目标链接的库。 官方文档#target_compile_options (:指定目标的编译选项。 官方文档#目标由add_library (或add_executable )生成。 #项目(main ) ) cmake_minimum_required )版本2.6 ) add_subdirectory(src ) aux_source_directory ).directory _namesgshdmap ) add _ executable ($ { target _ name } $ { dir _ SRD map } main.cppmanagerwidget.cppmanagerwidget.hmanagerwidget.ui (target _ include _ directories ($ { target _ name } pri ) Qt53360:widgets ) target_link_libraries ) $ { target _ name }-llibboost _ atomic-VC 141-mt-1 _ 65344 #-libraric - llibboost _ chrono-VC 141-mm-llibboost _ context-VC 141-mt-1 _ 64 #-llibboost _ coroutine-VC 141-mt-1 - llibboost _ file system-VC 141-mt-1 _ 64 #-llibboost _ graph-VC 141-llibboost _ iostreams-VC 141-mt _ 65306; - llibboost _ log-VC 141-- llibboost _ math _ c99-VC 141-mt-1 _ 64 #-llibboost _ math _ c99f-VC 141-mt-1 - llibboost _ math _ tr1l-VC 141-mt-1 _ 64 #-llibboost _ MPI-1-llibboost _ numpy3- VC 141-mt-1 _ 65374 #-lliboost - llibboost _ PPR-llibboost _ python-VC 141-mt-1 _ 64 #-llibboost _ python3- VC 141-mt-1 _ 65374; 65374; libbost - llibboost _ signals-VC 141-mt-1 _ 64 #-llibboost _ system-64-llibboost _ test _ exec _ monitor-VC 141-mt - llibboost _ _-llibboost _ unit _ test _ framework-VC 141-mt-1 _ 64 #-llibboost _ wave-VC 141-mt _ 65344

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。