Skip to content

Example on consuming both C and C++ code in NodeJS built with CMake and the emsdk Conan package.

Notifications You must be signed in to change notification settings

czoido/conan-emscripten-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conan-emscripten-demo

Create both C and C++ functions, compile them using emscripten with Conan using emsdk package and consume those functions from NodeJS.

conan create emsdk-demo-pkg --profile:host=conan-profiles/emscripten.profile --profile:build=default --build=missing
cd consumer
conan install conanfile.txt --profile:host=../conan-profiles/emscripten.profile --profile:build=default
node app.js

About

Example on consuming both C and C++ code in NodeJS built with CMake and the emsdk Conan package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published