Issues while implementing declarative engine within a plugin

solved it by adding PublicDefinitions.Add("_SWI_CPP2_H"); inside the build.cs file, though I still don’t understand the reason why it works.