Replace trivalue options with plain booleans
authorErik Lindahl <erik.lindahl@gmail.com>
Mon, 15 Jun 2020 09:21:48 +0000 (09:21 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 15 Jun 2020 09:21:48 +0000 (09:21 +0000)
commit649af69b44d50355387c9ac1e6e68ad243ca2e88
tree83556da17e597d171a9ce6ea5323ce2aaa322a37
parent6993ee6992573566e7b7083858e23c92aef1d3dd
Replace trivalue options with plain booleans

Our CMake auto-detection has been a long discussion since
it both complicates the CMake code and leads to complex
interactions when multiple auto-settings interact with
each other, and when/how things can change.

This is a first step towards removing such auto settings,
by altering "nice to have, but not required" to "off" by
default (GMX_BUILD_HELP, GMX_HWLOC).

The option GMX_LOAD_PLUGINS was on by default, and
the build generates errors if it's turned off, so for now
I set it to "on", and will adress the compile error when
it's disabled in a separate change.

With these changes, the trivalue options are no more.
CMakeLists.txt
cmake/gmxManagePluginSupport.cmake
src/gromacs/fileio/CMakeLists.txt