-
I see that version 4 uses cmake files, but I am not familiar with cmake build system. Can anyone show me how to build binaries from source using Visual Studio? |
Beta Was this translation helpful? Give feedback.
Answered by
rikyoz
Nov 21, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
neolib
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Directly in Visual Studio
In Visual Studio 2017, you can directly open CMake projects by going to the
File
menu >Open
>CMake...
, and then opening theCMakeList.txt
file of bit7z:Using the CMake's GUI
Alternatively, you can use the CMake GUI to generate a Visual Studio project for bit7z, which you can then use to build the library:
After selecting bit7z's source code path and the path where the generated Visual Studio project will be, you can click the "Configure" button.
A window will appear where you can select the project generator (in your case,
Visual Studio 15 2017
) as well as the platform (Win32
for 32-bit,x64
for 64-bit):CMake will then configure the project and will m…