Skip to content

wasmatazz/c-cpp-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Package base for C/C++ based projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published