Replies: 2 comments 2 replies
|
To the best of my knowledge: yes. Several projects consume quickjs-ng through cmake. |
|
quickjs-ng appears to support an installed CMake package, but not pkg-config After installing it with CMake, the exported target is So the consumer side should likely be: find_package(qjs CONFIG REQUIRED)
target_link_libraries(your_target PRIVATE qjs)The target name is I would not expect For vendored/in-tree use without installing, include(FetchContent)
FetchContent_Declare(
quickjs
GIT_REPOSITORY https://github.com/quickjs-ng/quickjs.git
GIT_TAG main
)
FetchContent_MakeAvailable(quickjs)
target_link_libraries(your_target PRIVATE qjs)One small caveat: the installed export is named |
Uh oh!
There was an error while loading. Please reload this page.
Hello! I'd like to integrate quickjs to my project. My project uses
find_packageorpkg_search_moduleof CMake to find dependencies. Does quickjs-ng support that?All reactions