Building NodeC++ with cmake¶
Requirements¶
- cmake (version 3.14 or above)
- a MacOS/Linux computer (this dosen’t compile on windows because it doesn’t use WinSock)
Downloading¶
You will need to download NodeC++ from Github. We recommend that you use the master branch (this is the most stable). If you want to use the development branch you can but there will be issues with it.
Now open a terminal and navigate to where you downloaded NodeC++
Running cmake¶
From the location of where you downloaded NodeC++ type
cmake -H. -B../build/
This will setup the build system in ../build
Once this completes navigate to ../build/ and run
make
This will fully build the project. This will produce the binaries in the output/ folder
Congratulations, you have build cmake