#!/bin/sh
# Display usage
cpack_usage()
{
cat <<EOF
Usage: $0 [options]
Options: [defaults in brackets after descriptions]
--help print this message
--version print cmake installer version
--prefix=dir directory in which to install
--include-subdir include the cmake-3.29.4-linux-aarch64 subdirectory
--exclude-subdir exclude the cmake-3.29.4-linux-aarch64 subdirectory
--skip-license accept license
EOF
exit 1
}
cpack_echo_exit()
{
echo $1
exit 1
}
# Display version
cpack_version()
{
echo "CMake Installer Version: 3.29.4, Copyright (c) Kitware"
}
# Helper function to fix windows paths.
cpack_fix_slashes ()
{
echo "$1" | sed 's/\\/\//g'
}
interactive=TRUE
cpack_skip_license=FALSE
cpack_include_subdir=""
for a in "$@"; do
if echo $a | grep "^--prefix=" > /dev/null 2> /dev/null; then
cpack_prefix_dir=`echo $a | sed "s/^--prefix=//"`
cpack_prefix_dir=`cpack_fix_slashes "${cpack_prefix_dir}"`
fi
if echo $a | grep "^--help" > /dev/null 2> /dev/null; then
cpack_usage
fi
if echo $a | grep "^--version" > /dev/null 2> /dev/null; then
cpack_version
exit 2
fi
if echo $a | grep "^--include-subdir" > /dev/null 2> /dev/null; then
cpack_include_subdir=TRUE
fi
if echo $a | grep "^--exclude-subdir" > /dev/null 2> /dev/null; then
cpack_include_subdir=FALSE
fi
if echo $a | grep "^--skip-license" > /dev/null 2> /dev/null; then
cpack_skip_license=TRUE
fi
done
if [ "x${cpack_include_subdir}x" != "xx" -o "x${cpack_skip_license}x" = "xTRUEx" ]
then
interactive=FALSE
fi
cpack_version
echo "This is a self-extracting archive."
toplevel="`pwd`"
if [ "x${cpack_prefix_dir}x" != "xx" ]
then
toplevel="${cpack_prefix_dir}"
fi
echo "The archive will be extracted to: ${toplevel}"
if [ "x${interactive}x" = "xTRUEx" ]
then
echo ""
echo "If you want to stop extracting, please press <ctrl-C>."
if [ "x${cpack_skip_license}x" != "xTRUEx" ]
then
more << '____cpack__here_doc____'
CMake - Cross Platform Makefile Generator
Copyright 2000-2024 Kitware, Inc. and Contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Kitware, Inc. nor the names of Contributors
may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
------------------------------------------------------------------------------
The following individuals and institutions are among the Contributors:
* Aaron C. Meadows <[email protected]>
* Adriaan de Groot <[email protected]>
* Aleksey Avdeev <[email protected]>
* Alexander Neundorf <[email protected]>
* Alexander Smorkalov <[email protected]>
* Alexey Sokolov <[email protected]>
* Alex Merry <[email protected]>
* Alex Turbov <[email protected]>
* Andreas Pakulat <[email protected]>
* Andreas Schneider <[email protected]>
* André Rigland Brodtkorb <[email protected]>
* Axel Huebl, Helmholtz-Zentrum Dresden - Rossendorf
* Benjamin Eikel
* Bjoern Ricks <[email protected]>
* Brad Hards <[email protected]>
* Christopher Harvey
* Christoph Grüninger <[email protected]>
* Clement Creusot <[email protected]>
* Daniel Blezek <[email protected]>
* Daniel Pfeifer <[email protected]>
* Dawid Wróbel <[email protected]>
* Enrico Scholz <[email protected]>
* Eran Ifrah <[email protected]>
* Esben Mose Hansen, Ange Optimization ApS
* Geoffrey Viola <[email protected]>
* Google Inc
* Gregor Jasny
* Helio Chissini de Castro <[email protected]>
* Ilya Lavrenov <[email protected]>
* Insight Software Consortium <insightsoftwareconsortium.org>
* Intel Corporation <www.intel.com>
* Jan Woetzel
* Jordan Williams <[email protected]>
* Julien Schueller
* Kelly Thompson <[email protected]>
* Konstantin Podsvirov <[email protected]>
* Laurent Montel <[email protected]>
* Mario Bensi <[email protected]>
* Martin Gräßlin <[email protected]>
* Mathieu Malaterre <[email protected]>
* Matthaeus G. Chajdas
* Matthias Kretz <[email protected]>
* Matthias Maennich <[email protected]>
* Michael Hirsch, Ph.D. <www.scivision.co>
* Michael Stürmer
* Miguel A. Figueroa-Villanueva
* Mike Durso <[email protected]>
* Mike Jackson
* Mike McQuaid <[email protected]>
* Nicolas Bock <[email protected]>
* Nicolas Despres <[email protected]>
* Nikita Krupen'ko <[email protected]>
* NVIDIA Corporation <www.nvidia.com>
* OpenGamma Ltd. <opengamma.com>
* Patrick Stotko <[email protected]>
* Per Øyvind Karlsen <[email protected]>
* Peter Collingbourne <[email protected]>
* Petr Gotthard <[email protected]>
* Philip Lowman <[email protected]>
* Philippe Proulx <[email protected]>
* Raffi Enficiaud, Max Planck Society
* Raumfeld <raumfeld.com>
* Roger Leigh <[email protected]>
* Rolf Eike Beer <[email protected]>
* Roman Donchenko <[email protected]>
* Roman Kharitonov <[email protected]>
* Ruslan Baratov
* Sebastian Holtermann <[email protected]>
* Stephen Kelly <[email protected]>
* Sylvain Joubert <[email protected]>
* The Qt Company Ltd.
* Thomas Sondergaard <[email protected]>
* Tobias Hunger <[email protected]>
* Todd Gamblin <[email protected]>
* Tristan Carel
* University of Dundee
* Vadim Zhukov
* Will Dicharry <[email protected]>
See version control history for details of individual contributions.
The above copyright and license notice applies to distributions of
CMake in source and binary form. Third-party software packages supplied
with CMake under compatible licenses provide their own copyright notices
documented in corresponding subdirectories or source files.
------------------------------------------------------------------------------
CMake was initially developed by Kitware with the following sponsorship:
* National Library of Medicine at the National Institutes of Health
as part of the Insight Segmentation and Registration Toolkit (ITK).
* US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
Visualization Initiative.
* National Alliance for Medical Image Computing (NAMIC) is funded by the
National Institutes of Health through the NIH Roadmap for Medical Research,
Grant U54 EB005149.
* Kitware, Inc.
____cpack__here_doc____
echo
while true
do
echo "Do you accept the license? [yn]: "
read line leftover
case ${line} in
y* | Y*)
cpack_license_accepted=TRUE
break;;
n* | N* | q* | Q* | e* | E*)
echo "License not accepted. Exiting ..."
exit 1;;
esac
done
fi
if [ "x${cpack_include_subdir}x" = "xx" ]
then
echo "By default the CMake will be installed in:"
echo " \"${toplevel}/cmake-3.29.4
没有合适的资源?快使用搜索试试~ 我知道了~
CMake:构建、打包和测试的跨平台工具系列软件

共6个文件
sh:2个
msi:2个
zip:1个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 134 浏览量
2024-06-04
21:18:51
上传
评论
收藏 191.01MB ZIP 举报
温馨提示
CMake是一个开源、跨平台的构建系统,旨在管理软件构建过程。它通过使用简洁的脚本语言描述项目的构建规则,自动生成适用于各种平台的构建文件,如Unix Makefiles、Visual Studio项目和Xcode项目。CMake不仅支持多种编译器和操作系统,还提供了丰富的功能,用于软件的构建、打包和测试。 特点 跨平台支持:CMake支持Windows、macOS、Linux等多个操作系统,能够生成适用于不同平台的构建文件。 自动化构建:通过CMake脚本,可以自动检测系统依赖和配置环境,从而简化构建过程。 模块化设计:CMake支持模块化配置,便于管理大型项目和复用代码。 多编译器支持:CMake兼容多种编译器,如GCC、Clang、MSVC等,能够生成相应的编译配置文件。 集成测试框架:CMake内置CTest,用于运行和管理单元测试,确保软件质量。 打包工具:CMake包含CPack,用于生成各种软件包格式,如RPM、DEB、NSIS等,方便软件分发。
资源推荐
资源详情
资源评论






























收起资源包目录










共 6 条
- 1
资源评论



新华
- 粉丝: 1w+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 实验一Linux基本操作实验研究分析报告.doc
- 大数据安全与隐私保护.docx
- 北京化工大学自动化专业卓越工程师培养技术方案.doc
- 上半年信息处理技术员网络直播培训.docx
- PLC安装环境.doc
- 试论网络思想政治教育的理论基础.docx
- 互联网+教育环境下基于智慧校园的高校教育信息化建设探究.docx
- 论4G通信工程技术的要点.docx
- Git高级技巧大全之深入探究基础教程
- NOIP2016初赛普及组C++题目及标准答案.doc
- 电子商城网站建设策划.doc
- 51单片机直流电机控制系统大学本科方案设计书.doc
- 财务公司行业信息化发展最佳实践研究.doc
- 大数据时代网络信息安全及防范措施.docx
- MATLAB课程设计方案研究报告(绝对完整).doc
- 土木工程C语言课程方案任务书.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
