1.0.1 • Published 3 years ago

@wasmatazz/c-cpp-base v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

c-cpp-base

Package base for C/C++ based projects.

Setup

  • Download the latest release of wasi-sdk for your platform, and install it somewhere.
  • Find the absolute path to the wasi-sdk root folder (it should contain bin/, lib/ and share/ subfolders) and set the npm config item wasi_sdk_root to this path, i.e.:

      npm config set wasi_sdk_root <path>

Usage

  • Add this package as a dev dependency.
  • Create a prepublishOnly script wasmatazz-c path/to/c/*.c where path/to/c/*.c is replaced with one or more paths to C files to compile.
1.0.1

3 years ago

1.0.0

3 years ago