CMake Graphical User Interface
At near the top, click
Browse Source..
.Go to and Select the folder with your CMakeList.txt file.
Right below the Browse Source button, click the
Browse Build..
button.Create a new folder in the folder with your CMakeList.txt file and call it
build
.Select the new
build
folder that you just created.Around the middle, click the
Generate
button.Select the generator you want to use. For example, if you want to use Visual Studio 2017 and compile for 64 bit Windows, use
Visual Studio 15 2017 Win64
.
- If you used VCPKG, do the following:
- Select
Specify toolchain file
and clickNext
. Enterenter [path to vcpkg]/scripts/buildsystems/vcpkg.cmake
with[path to vcpkg]
replaced and clickFinish
.
- Select
- Otherwise, do the following:
- Select
Use default native compilers
and clickFinish
.
- Select
- Wait until it's done. You can tell when it says
Generating done
at the bottom.