Unverified Commit cb5c3f90 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add minimal.cmake and most.cmake presets

parent 74ce1644
Loading
Loading
Loading
Loading
+3 −2
Changes for cmake/presets/all_on.cmake: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
# preset that turns on all existing packages. using the combination
# this preset with the nolib.cmake preset should configure a LAMMPS
# binary, that can be compiled with just a working C++ compiler.
# this preset followed by the nolib.cmake preset should configure a
# LAMMPS binary, with as many packages included, that can be compiled
# with just a working C++ compiler and an MPI library.

set(ALL_PACKAGES ASPHERE BODY CLASS2 COLLOID COMPRESS CORESHELL DIPOLE GPU
        GRANULAR KIM KOKKOS KSPACE LATTE MANYBODY MC MISC MOLECULE MPIIO
+8 −0
Changes for cmake/presets/minimal.cmake: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
# preset that turns on just a few, frequently used packages
# this will be compiled quickly and handle a lot of common inputs.

set(ALL_PACKAGES KSPACE MANYBODY MOLECULE RIGID)

foreach(PKG ${ALL_PACKAGES})
  set(PKG_${PKG} ON CACHE BOOL "" FORCE)
endforeach()
+15 −0
Changes for cmake/presets/most.cmake: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
# preset that turns on a wide range of packages none of which require
# external libraries. Some more unusual packages are removed as well.
# The resulting binary should be able to run most inputs.

set(ALL_PACKAGES ASPHERE CLASS2 COLLOID CORESHELL DIPOLE
        GRANULAR KSPACE MANYBODY MC MISC MOLECULE OPT PERI
        QEQ REPLICA RIGID SHOCK SRD
        USER-CGDNA USER-CGSDK USER-COLVARS USER-DIFFRACTION USER-DPD
        USER-DRUDE USER-FEP USER-MEAMC USER-MESO
        USER-MISC USER-MOFFF USER-OMP USER-PHONON USER-REAXC
        USER-SPH USER-UEF USER-YAFF)

foreach(PKG ${ALL_PACKAGES})
  set(PKG_${PKG} ON CACHE BOOL "" FORCE)
endforeach()