How to set PreProcessorDefinitions as a task propery for the msbuild task
This can be done without modifying the original project: the first thing done in Microsoft.Cpp.Targets, which is normally one of the last things imported in a normal C++ project, is to check if there’s a property called ForceImportBeforeCppTargets and if so, import it. So suppose you want to add ADDITIONAL to the preprocessor definitions you … Read more