Skip to content

How build binaries using Visual Studio (2017+)? #176

Answered by rikyoz
neolib asked this question in Q&A
Discussion options

You must be logged in to vote

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 the CMakeList.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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by neolib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants