Wireshark编译、打包

Friday, Sep 3, 2021 | 1 minute read | Updated at Friday, Sep 3, 2021

@
Wireshark编译、打包

构建wireshark发布包,必须先生成user guide,并下载以下软件

  • htmlhelp (微软官网已经下不到了,直接百度找个)
  • nsis 发布exe包用的
rem wireshark源码路径
set WIRESHARK_BASE_DIR=E:\code
rem QT编译库路径
set QT5_BASE_DIR=D:\Qt\5.15.2\msvc2019_64
rem 编译目录
cd E:\code\wsbuild64
cmake -G "Visual Studio 16 2019" -A x64 ..\wireshark
rem wirehsark vs工程文件
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln
rem set PATH="%PATH%;E:\code\wsbuild64\run\RelwithDebInfo"

rem wirehark user guide 项目
msbuild /p:Configuration=RelWithDebInfo .\docbook\user_guide_chm.vcxproj

rem 构建发布包
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj

msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj

© 2016 - 2025 Caisong's Blog

🌱 Powered by Hugo with theme Dream.

About Me

大龄程序员,喜欢折腾各种环境部署、软件应用。

博客记录日常。