cake:CMake项目和包管理

上传者: 42161450 | 上传时间: 2022-12-28 11:17:01 | 文件大小: 83KB | 文件类型: ZIP
CMake的蛋糕 Cake是用于CMake的轻量级项目和程序包管理系统,以CMake脚本实现,可从命令行或从CMakeList.txt使用。 特征: 提供一个(非常简单的)项目文件来管理和组织您的CMake项目和目录,例如 提供用于管理多个存储库的工具(有点类似于 ) 在配置时克隆,构建和安装依赖项,以递归方式获取依赖项 支持外部依赖项(内置在自己的构建树中)和子项目( add_subdirectory )。 在项目中需要最小的更改,支持旧的CMake依赖关系(零更改)。 支持可选的依赖项(例如--with-sqlite选项) 有关复杂的案例研究,请参见: : ----在本工程中---- 项目管理 包装管理 作为快速演示,使用libpng的项目的CMakeLists.txt如下所示: cmake_minimum_required(VERSION 3.1) project

文件下载

资源详情

[{"title":"( 54 个子文件 83KB ) cake:CMake项目和包管理","children":[{"title":"cake-master","children":[{"title":"todo.txt <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"CakeInstall.cmake <span style='color:#111;'> 4.18KB </span>","children":null,"spread":false},{"title":"Cake.cmake <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"cake-project-sample.cmake <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"Modules","children":[{"title":"CakePkgDepends.cmake <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"CakePkg.cmake <span style='color:#111;'> 24.24KB </span>","children":null,"spread":false},{"title":"CakeAddSubdirectory.cmake <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"private","children":[{"title":"CakeUrl.cmake <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"CakeProject.cmake <span style='color:#111;'> 7.59KB </span>","children":null,"spread":false},{"title":"CakePkgInstall.cmake <span style='color:#111;'> 9.61KB </span>","children":null,"spread":false},{"title":"CakePkgClone.cmake <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false},{"title":"CakePrivateSession.cmake <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"CakePkgRegistries.cmake <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"CakePrivateUtils.cmake <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"CakeRepoDb.cmake <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"cake <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"cake.cmd <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"cakepkg.cmd <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"cakepkg <span style='color:#111;'> 159B </span>","children":null,"spread":false}],"spread":true},{"title":"cake-src","children":[{"title":"cake.cmake <span style='color:#111;'> 24.92KB </span>","children":null,"spread":false},{"title":"set_cake_tmp_dir.cmake <span style='color:#111;'> 301B </span>","children":null,"spread":false}],"spread":true},{"title":"samples","children":[{"title":".gitignore <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"01_cmd_zlib","children":[{"title":"cakecfg.cmake <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"run <span style='color:#111;'> 600B </span>","children":null,"spread":false},{"title":"clean <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true},{"title":"03_cmakelists_libpng","children":[{"title":"cakecfg.cmake <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"run <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"clean <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 571B </span>","children":null,"spread":false}],"spread":true},{"title":"readme.md <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"05_subproj_cake_find_package","children":[{"title":"cakecfg.cmake <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"run_cake <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"run <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"clean <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 757B </span>","children":null,"spread":false}],"spread":true},{"title":"04_subproj_cake_depends","children":[{"title":"cakecfg.cmake <span style='color:#111;'> 534B </span>","children":null,"spread":false},{"title":"run_cake <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"run <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"clean <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 745B </span>","children":null,"spread":false}],"spread":false},{"title":"02_cmd_libpng","children":[{"title":"cakecfg.cmake <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"run <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"clean <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 186B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"cake_codeproject_article.html <span style='color:#111;'> 18.56KB </span>","children":null,"spread":false},{"title":"cj.css <span style='color:#111;'> 133.94KB </span>","children":null,"spread":false},{"title":"cake-tutorial.md <span style='color:#111;'> 2.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"VERSION <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"cakepkg-src","children":[{"title":"cakepkg.cmake <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

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