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

Add target name preprocessor define #541

Merged
merged 1 commit into from
May 24, 2015

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