Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.75 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.75 KB

nxxm : get started

Welcome in the nxxm getting started project !

Take a look at .nxxm/deps to see how we added js-bind and Boost headers distribution to the build :

{
  "nxxm/js-bind" : { "@" : "v2.0.1" }
  , "platform" : ["Boost::+boost"]
}

Look there are no build recipes, it will build by conventions.

├── .nxxm
│   └── deps
├── src
│   ├── app.html
│   ├── command-line-app.cpp
│   └── getting_started
│       ├── print_boost_version.cpp
│       └── print_boost_version.hpp
└── tests
    ├── unit_test_one.cpp
    └── unit_test_two.cpp

Compile

  • WebAssembly with C++17 support: nxxm .

Compiling for another platform

If you want to compile for another platform, you simply can do the following :

  • nxxm . -t wasm-cxx17 : all included, works out of the box, generates webassembly builds.
  • nxxm . -t linux : all included, builds a linux binary with clang 11.
  • nxxm . -t windows : all included, builds a windows binary with clang 11.
  • nxxm . -t macos : all included, builds a macos binary with clang 11.

Running

Open it with your browser :

Run the command line app with our bundled NodeJS :

  • nxxm . --test src/command-line-app

You are ready to focus on C++

If you want to learn more join us on nxxm.github.io or read the docs.

Thanks

Thanks for testing nxxm, we hope you enjoy it as we do. 🤗

-nxxm project