Skip to content

Using -D cppflags possible? #159

Open
@Pantastisch

Description

@Pantastisch

Hello all,

great tool firstly!
Is there a way to use or config new cppflags like -DTESTDEFINE for example?

I would like to enable those macros from CLI for a variant handling.

Example:

// Get right parameter based on variant
#if defined(TESTDEFINE)
par = TEST_PAR;
#else 
par = DEFAULT_PAR;
#endif

Hope someone can assist me.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions