In my code I am using the #error
preprocessor directive in order to create an error. However, it still continues the building process.
How can I force the building process programmatically to stop after encountering my error?
I am using Microsoft Visual Studio 2015, C++ v140, x86, for Windows 10.