test_cmake大型项目组件配置案例

上传者: JL_Gao | 上传时间: 2022-08-08 17:32:59 | 文件大小: 4KB | 文件类型: GZ
大型项目组件配置案例,参考Poco实现,如有不当之处请多多批评指正。环境ubuntu16.04,cmake版本3.5.1,其中test_cmake工程为案例,test_cmake_find用来依赖test_cmake工程。编译:1)在test_cmake/build下执行cmake ..然后make最后make install,会被安装到/usr/local目录下。2)在test_cmake_find/build下执行cmake..然后make最后./test_cmake_find可看到打印结果。

文件下载

资源详情

[{"title":"( 16 个子文件 4KB ) test_cmake大型项目组件配置案例","children":[{"title":"test_cmake_find","children":[{"title":"src","children":[{"title":"test_cmake_find.cpp <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"build","children":null,"spread":false}],"spread":true},{"title":"test_cmake","children":[{"title":"cmake","children":[{"title":"test_cmakeConfigVersion.cmake .in <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"test_cmakeConfig.cmake.in <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"cmake_uninstall.cmake.in <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"test_cmakeMacros.cmake <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"component2","children":[{"title":"cmake","children":[{"title":"test_cmake-component2Config.cmake <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"include","children":[{"title":"component2.h <span style='color:#111;'> 122B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"component2.cpp <span style='color:#111;'> 107B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 830B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"component1","children":[{"title":"cmake","children":[{"title":"test_cmake-component1Config.cmake <span style='color:#111;'> 107B </span>","children":null,"spread":false}],"spread":true},{"title":"include","children":[{"title":"component1.h <span style='color:#111;'> 122B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"component1.cpp <span style='color:#111;'> 106B </span>","children":null,"spread":false}],"spread":true},{"title":"CMakeLists.txt <span style='color:#111;'> 801B </span>","children":null,"spread":false}],"spread":true},{"title":"build","children":null,"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明