Building from Source¶
ng-log can be compiled using CMake on a wide range of platforms. The typical workflow for building ng-log on a Unix-like system with GNU Make as build tool is as follows:
- Clone the repository and change into source directory.
- Run CMake to configure the build tree.
CMake provides different generators, and by default will pick the most
relevant one to your environment. If you need a specific version of Visual
Studio, use
cmake . -G <generator-name>, and seecmake --helpfor the available generators. Also see-T <toolset-name>, which can be used to request the native x64 toolchain with-T host=x64. - Afterwards, generated files can be used to compile the project.
- Test the build software (optional).
- Install the built files (optional).
Once successfully built, ng-log can be integrated into own projects.