On May 4, 2023, at 10:16 AM, <jayrturner99@xxxxxxxxx> <jayrturner99@xxxxxxxxx> wrote:
> Succeeded by -- creating C:\Project\wireshark, cloning in to C:\Project\wireshark\wireshark, making C:\Project\wireshark\build, and running CMake from within C:\Project\wireshark\build
>
> My build directory was also a peer, but not named ‘build’, and not under C:\Project\wireshark.
It's... not a requirement that the build directory be named "build". I have C:\Development\wireshark with the Wireshark Git tree and C:\Development\wsbuild64 as the build directory.
In C:\Users\guy\bin (yes, I'm a Unix person; why do you ask? :-)) I have scripts setup-wireshark.bat:
set WIRESHARK_BASE_DIR=C:\Development
set WIRESHARK_QT6_PREFIX_PATH=\Qt\6.2.4\msvc2019_64
to set up a command-line window for building Wireshark, cmake-wireshark.bat:
cmake -G "Visual Studio 17 2022" -A x64 -DENABLE_LTO=off ..\wireshark
run in the build directory to run CMake, and build-wireshark.bat:
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln
run in the build directory to build Wireshark.