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
buildfolder that you just created. -
Around the middle, click the
Generatebutton. -
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 fileand clickNext. Enterenter [path to vcpkg]/scripts/buildsystems/vcpkg.cmakewith[path to vcpkg]replaced and clickFinish.
- Select
- Otherwise, do the following:
- Select
Use default native compilersand clickFinish.
- Select
- Wait until it's done. You can tell when it says
Generating doneat the bottom.