3 Star 5 Fork 1

Gitee 极速下载/qt5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/qt/qt5
克隆/下载
configure.bat 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
:: Copyright (C) 2024 The Qt Company Ltd.
:: SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
@echo off
setlocal ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
set script_dir_path=%~dp0
set script_dir_path=%script_dir_path:~0,-1%
set cmake_scripts_dir=%script_dir_path%\cmake
:: The '.' in 'echo.%*' ensures we don't print "echo is off" when no arguments are passed
:: https://devblogs.microsoft.com/oldnewthing/20170802-00/?p=96735
:: The space before the '>' makes sure that when we have a digit at the end of the args, we
:: don't accidentally concatenate it with the '>' resulting in '0>' or '2>' which redirects into the
:: file from a stream different than stdout, leading to broken or empty content.
echo.%* >config.tl.opt.in
call cmake -DIN_FILE=config.tl.opt.in -DOUT_FILE=config.tl.opt ^
-P "%cmake_scripts_dir%\QtWriteArgsFile.cmake"
call cmake -DOPTFILE=config.tl.opt -DTOP_LEVEL_SRC_PATH="%script_dir_path%" ^
-P "%cmake_scripts_dir%\QtTopLevelConfigureScript.cmake"
del config.tl.opt.in
del config.tl.opt
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/qt5.git
git@gitee.com:mirrors/qt5.git
mirrors
qt5
qt5
dev

搜索帮助