Skip to content

hsfl/cosmos-web-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project creates emcc bindings for COSMOS's C++ library COSMOS Core for use in Javascript.
Primarily to be used by cosmos web backend, which is NodeJS.

To build the docker image, run the script build_docker_image in the scripts/folder.
> cd scripts
> ./build_docker_image


To manually build the project, run the script do_cmake_emcc in the scripts/ folder. 
> cd scripts
> /root/emsdk/emsdk activate latest
> source /root/emsdk/emsdk_env.sh
> ./do_cmake_emcc

The output files of interest are:
build/dist/CosmosWebCore.js
build/dist/CosmosWebCore.wasm

About

Provides bindings for COSMOS Core to use in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors