To get the .s to .asm tool, I'm going to clone and build binaryen from GitHub. In the binaryen folder with CMake installed, we then run CMake., and when that's ready, we run CMake -- build. to build the current folder. For Windows users, if you've installed CMake and have the Visual Studio build tools, the same sort of process should work.
To build the WebAssembly Binary Toolkit, I'm going to clone from GitHub. We need to add this recursive flag, when we do that clone, to make sure we include the sub modules. Once that's downloaded, it's roughly the same build process. Except this time, I'm going to create a build folder, running CMake within it.
I'm going to add the CMake EXECUTABLE_OUTPUT_PATH flag to output our executable binaries into the out folder. We run that against the lower folder source. Then we run CMake -- build. to complete the build into the output path. The build folder can then be removed afterwards.