Skip to content

Conversation

@agnat
Copy link
Contributor

@agnat agnat commented Nov 30, 2014

Adds the name of the current target as a preprocessor define. Uses the automatic variable _target_name in combination with late variable expansion.

It originates in nodejs/node-v0.x-archive#8802 but has other applications, too. Think logging. It's a little service to downstream add-ons to keep things DRY.

Adds the name of the current target as a preprocessor define. Uses the automatic variable _target_name in combination with late expansion.
TooTallNate added a commit that referenced this pull request May 24, 2015
@TooTallNate TooTallNate merged commit ad336cc into nodejs:master May 24, 2015
@TooTallNate
Copy link
Contributor

Good idea. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants