mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-10 01:18:39 +00:00
1
This commit is contained in:
parent
aa3610a47d
commit
43190022a7
3 changed files with 9 additions and 6 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -76,9 +76,10 @@ jobs:
|
|||
env:
|
||||
vc_arch: ${{ matrix.msvc_arch }}
|
||||
run: |
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
|
||||
qmake
|
||||
nmake
|
||||
# call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
|
||||
# qmake
|
||||
# nmake
|
||||
call "ci\win\build_for_win.bat" release %vc_arch%
|
||||
# tag 打包
|
||||
- name: package
|
||||
if: startsWith(github.event.ref, 'refs/tags/')
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@echo off
|
||||
set vcvarsall="D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat"
|
||||
set qt_msvc_path="D:\Qt\Qt5.12.5\5.12.5\"
|
||||
set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
|
||||
set qt_msvc_path="d:\a\QtScrcpy\Qt\5.12.7\"
|
||||
set build_path_name="../build-win"
|
||||
|
||||
:: 获取脚本绝对路径
|
||||
set script_path=%~dp0
|
||||
|
@ -8,6 +9,8 @@ set script_path=%~dp0
|
|||
set old_cd=%cd%
|
||||
cd /d %~dp0
|
||||
|
||||
set build_path=%script_path%%build_path_name%
|
||||
|
||||
:: 启动参数声明
|
||||
set debug_mode="false"
|
||||
set cpu_mode=x86
|
||||
|
@ -47,7 +50,6 @@ if /i %cpu_mode% == x86 (
|
|||
set qt_msvc_path=%qt_msvc_path%msvc2017_64\bin
|
||||
)
|
||||
|
||||
set build_path=%script_path%build
|
||||
set PATH=%qt_msvc_path%;%PATH%
|
||||
|
||||
:: 注册vc环境
|
Loading…
Add table
Add a link
Reference in a new issue