-
Notifications
You must be signed in to change notification settings - Fork 12
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 Windows module #40
Conversation
2 issues afaik :
|
ctx->suffix = "o"; | ||
} | ||
} else { | ||
LOG_E("Could not find C or C++ compiler"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to use vm_error
whenever you can because it shows the user the source code associated with the error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which node should I pass ?
// then get rc compiler in WINDRES environment variable | ||
|
||
if (!rc_str) { | ||
rc_str = getenv("WINDRES"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use getenv here. Call set_binary_from_env
in options.c.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function is not public. Do I make it public ?
So I think this module is a good candidate for a script module. I'll probably attempt one eventually. |
No description provided.