1 Star 0 Fork 6

王鹏/iMonitor(冰镜 - 终端行为分析系统)

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.bat 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
iMonitor 提交于 2021-11-26 17:32 . v1.0.1.0
@ECHO OFF & PUSHD %~DP0 & TITLE iMonitor Build Command
If "%QT_DIR32%"=="" (
Echo QT_DIR32 is not set, use the default value: "D:\Qt\Qt5.12.11\5.12.11\msvc2017\lib\cmake\Qt5"
Set QT_DIR32=D:\Qt\Qt5.12.11\5.12.11\msvc2017\lib\cmake\Qt5
)
If "%QT_DIR64%"=="" (
Echo QT_DIR64 is not set, use the default value: "D:\Qt\Qt5.12.11\5.12.11\msvc2017_64\lib\cmake\Qt5"
Set QT_DIR64=D:\Qt\Qt5.12.11\5.12.11\msvc2017_64\lib\cmake\Qt5
)
:Menu
Echo.&Echo 1.GenerateSolution
Echo.&Echo 2.BuildDebug
Echo.&Echo 3.BuildRelease
Echo.&Echo 4.Windeployqt
Echo.&Echo 5.Format
Echo.&Echo.
set /p a=Input Number:
If Not "%a%"=="" Set a=%a:~0,1%
If "%a%"=="1" Goto GenerateSolution
If "%a%"=="2" Goto BuildDebug
If "%a%"=="3" Goto BuildRelease
If "%a%"=="4" Goto Windeployqt
If "%a%"=="5" Goto Format
Exit
:GenerateSolution
Set QT_DIR=%QT_DIR64%
cmake %vcpkg_param% -G "Visual Studio 16 2019" -A "x64" -T "v142" CMakeLists.txt -B build/64 -DQT_ENABLE_TRANSLATION=1
Set QT_DIR=%QT_DIR32%
cmake %vcpkg_param% -G "Visual Studio 16 2019" -A "Win32" -T "v142" CMakeLists.txt -B build/32 -DQT_ENABLE_TRANSLATION=1
Goto Menu
:BuildDebug
cmake --build build/64 --config Debug
cmake --build build/32 --config Debug
Goto Menu
:BuildRelease
cmake --build build/64 --config Release
cmake --build build/32 --config Release
Goto Menu
:Windeployqt
windeployqt.exe bin\64\iMonitor.exe
windeployqt.exe bin\32\iMonitor.exe
Goto Menu
:Format
node tools/format.js
Goto Menu
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weifangpp/iMonitor.git
git@gitee.com:weifangpp/iMonitor.git
weifangpp
iMonitor
iMonitor(冰镜 - 终端行为分析系统)
main

搜索帮助