view Resources/CodeGeneration/README.md @ 509:1b9973905e15 bgo-commands-codegen

Fix to use js callbacks attached to 'window' + dummy changes in cmake files
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 06 Mar 2019 10:57:02 +0100
parents 6405435480ae
children b7fd0471281c
line wrap: on
line source

Requirements
----------------

Install Node and npm.

Then:
- `npm install browserify`
- `npm install typescript`
- `npm install tsify`

`testCppHandler` contains a C++ project that produces an executable 
slurping a set of text files representing messages defined against 
the `test_data/test1.yaml' schema and dumping them to `cout`.

'testWasmIntegrated` contains a small Web app demonstrating the 
interaction between TypeScript and C++ in WASM.
source ~/apps/emsdk/emsdk_env.sh