Github user benqiu2016 commented on the issue:
https://github.com/apache/nifi-minifi-cpp/pull/66
Instead of commenting on every macro, perhaps an alternative is to, at
build time, include files that are appropriate to your unit. If you want YAML,
have a configuration class that's only built as a result of Yaml. This may
require having a different directory or including specific files but that's
better than the definitions here.
Above is ideal, still we need to have some #define in the caller to
indicate which one to call or we need to have two set of files, one is just
stub if the feature was disable, one has the feature dependent stuff.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---