nodejs / nodejs/node-gyp

Add ALL .cpp files into source

Open
#2,115 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.7k
Forks
1.9k
Avg merge
1d 4h
Merged PRs (30d)
5

Description

How to just add all .cpp files recursively into "source" : []?

There is solution https://stackoverflow.com/questions/15397582/is-there-wildcard-mechanism-for-listing-sources-in-node-gyp but it is not recursive (I have many folders with many .cpp files)?

Really, any wildcard mecanism here?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests; begin by tracing node-gyp's handling of the "source" list and compare it with the linked Stack Overflow approach. Done means providing a supported wildcard mechanism that recursively includes all .cpp files in nested folders.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, nodejs
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.