Using VS with CMake is a bit different story, please read this tutorial if you are going to use VS.
Go to the VS download page and download the installer.
Follow the instructions and select (at least) the C++ desktop development tools, this includes CMake support:
Open VS and select "Continue Without Code"

Then select File->Open->CMake... and open the Gnuplot++ folder:
VS support multiple configurations, you can change them:
You will see something like this:
You can change settings using the cmake variables table.
Now we need to set the install folder. Click on Show advanced settings:
Now set your favourite install location for libraries:
Add the following entries to the system PATH:
your_libraries_install_folder/lib
your_libraries_install_folder/lib/cmake
your_libraries_install_folder/bin
To build the library, select Build->Build All:
Select Build->Install gnuplotpp.
Create a new CMake project as described in BuildAndInstall, use the above steps to open the new project and you are ready to go!
Note that to run an executable target you can click the Run button, for example:








