lammps/cmake
Richard Berger ff18cff46b Merge branch 'cmake_pkg_libs' into cmake_improvements 2017-09-08 23:34:59 -04:00
..
Modules Merge branch 'cmake_pkg_libs' into cmake_improvements 2017-09-08 23:34:59 -04:00
gpu GPU: clean up part 2 2017-07-18 18:43:51 -06:00
pkgconfig fix liblammps install 2017-08-28 14:11:21 -06:00
CMakeLists.txt Merge branch 'cmake_pkg_libs' into cmake_improvements 2017-09-08 23:34:59 -04:00
README.md cmake: README is markdown 2017-08-28 14:27:12 -06:00

README.md

cmake-buildsystem

To use the cmake build system instead of the make-driven one, do:

cmake /path/to/lammps/source/cmake

(please note the cmake directory as the very end)

To enable package, e.g. GPU do

cmake /path/to/lammps/source/cmake -DENABLE_GPU=ON

cmake has many many options, do get an overview use the curses-based cmake interface, ccmake:

ccmake /path/to/lammps/source/cmake

(Don't forget to press "g" for generate once you are done with configuring)