Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

SOURCES documentation #55

@earonesty

Description

@earonesty

If I have a project with several targets, the nodejs_init function will grab the global SOURCES variable and set it as NODEJS_SOURCES

subsequent calls to add_nodejs_module will use NODEJS_SOURCES ... ignoring the parameters passed.

the documentation should reflect this flow:

include(NodeJS.cmake)
nodejs_init()
file(GLOB NODEJS_SOURCES "node/*.cpp")
add_nodejs_module(my_node_module)

Also, if I want to build more than one module.... I'll need multiple CMAKE files (which is OK, but not always desirable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions