needle icon indicating copy to clipboard operation
needle copied to clipboard

Preprocessor macros doesn't work

Open micnikolaev opened this issue 3 years ago • 0 comments

Hi, I am trying to create components depending on the preprocessor condition: #if MODULE_TEST var testComponent: TestComponentProtocol { get } #endif

But NeedleGenerated generates this component even if MODULE_TEST is FALSE.

Does Needle support preprocessor macros or should I do it differently?

micnikolaev avatar Jan 04 '22 12:01 micnikolaev