Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using -D cppflags possible? #159

Open
Pantastisch opened this issue Mar 3, 2019 · 0 comments
Open

Using -D cppflags possible? #159

Pantastisch opened this issue Mar 3, 2019 · 0 comments
Labels
type: enhancement Proposed improvement

Comments

@Pantastisch
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants