I follow the complete readme.txt file that comes with the source code from the book
The Error I get when I Compile the Project:
13>
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "setlocal
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 8 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========
It seemed to skip a step.. I redone everything and this is what I get:
12>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
12> Building Custom Rule C:/Users/Matthew/Desktop/SFML-Game-Development-Book-master/CMakeLists.txt
12> CMake does not need to re-run because C:\Users\Matthew\Desktop\SFML-Game-Development-Book-master\Build\CMakeFiles\generate.stamp is up-to-date.
12> Build all projects
13>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
13>Project not selected to build for this solution configuration
========== Build: 12 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========