mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-17 11:26:00 +08:00
Javascript bindings (#14)
* Initial version ready - bindings are in `bindings/emscripten.cpp` - minimal Javascript example is in `examples/ggwave-js` * add npm package + add test-ggwave.js * js : rename export name to "ggwave_factory" * update to v0.1.5 * Update README.md * npm : add npm-publish target
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
if (EMSCRIPTEN)
|
||||
#
|
||||
# test-ggwave-js
|
||||
|
||||
set(TEST_TARGET test-ggwave-js)
|
||||
|
||||
add_test(NAME ${TEST_TARGET}
|
||||
COMMAND node test-ggwave.js
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
return()
|
||||
endif()
|
||||
|
||||
#
|
||||
# test-ggwave-c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user