Skip to content

Expansions not working for 'includes' list items? #130

Open

Description

@mscdex

I noticed if I try any kind of expansion (e.g. command or variable) in 'includes' list items, they don't get expanded or replaced but gyp instead tries to use them literally.

Am I doing something wrong, is this intentional, or is it a bug?

Activity

  1. added
    questionFurther information is requested
    and removed
    questionFurther information is requested
    on Oct 14, 2021
  2. mscdex commented on Oct 14, 2021

    @mscdex
    Author

    Additionally it seems that 'includes' is eagerly evaluated, even before any dependency targets are executed. This is a problem for me since I have a dependency target that generates an include file for the main target. Is there a way around this?

  3. targos commented on Oct 14, 2021

    @targos
    Member

    I'm not sure you're going to find someone who knows the answers to your questions.
    This repository is not actively developed and we are just making our best to keep it working for Node.js and node-gyp.
    Is there a specific reason you have for still using gyp instead of other systems like CMake to build addons?

  4. mscdex commented on Oct 14, 2021

    @mscdex
    Author

    Because gyp is bundled with node/node-gyp and people complain about needing to install things like cmake or other utilities to build addon dependencies and/or node addons themselves. All I'm trying to do is execute some build-time checks (a la autoconf) to generate some gyp output and include that and so far I haven't found any real way to do that within gyp.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions