Appendix A: Building LAMMPS with CMake
In this appendix, we will give a brief tutorial on how to build LAMMPS with CMake. Unlike the traditional Makefile, CMake can detect available hardware, tools, features, and libraries and adjust the LAMMPS default build configuration accordingly. CMake allows customized settings with a text mode or graphical user interface, without requiring any knowledge of file formats or complex command-line syntax. In addition, CMake can automate dependency tracking for all files and configuration options.