Set `CMAKE_JS_SRC`

Open
#247 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake, node.js

Research direction

Read the referenced cmake-js lib/cMake.js lines 136-137 and 261-265, then inspect this repository's CMake integration and Windows build path. The change is complete when CMAKE_JS_SRC is injected consistently, including the Windows win_delay_load_hook.cc case described in the issue.

Written by the indexing model from the issue text.

Description

CMake RN enhancement

To be fully cmake-js compatible, we should inject CMAKE_JS_SRC: https://github.com/cmake-js/cmake-js/blob/f257177211ab685ef98092f6b4ba3c01e8e9da64/lib/cMake.js#L136-L137

On when building on Windows CMAKE_JS_SRC points to win_delay_load_hook.cc to allow the node.exe to be renamed (to support electron).

Dominant language
TypeScript
Stars
206
Forks
12
Avg merge
4h 8m
Merged PRs (30d)
2

Getting set up

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.

More from callstackincubator/react-native-node-api

All issues in callstackincubator/react-native-node-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.