[x] Include cmake/configure_options.cmake in the top-level CMakeLists.txt instead of src/CMakeLists.txt.
[x] Move the option() commands and the logic they trigger from CMakeLists.txt into cmake/configure_options.cmake.
[x] Probably make the cmake messages related to the moved option() commands match what is used in cmake/configure_options.cmake.
[x] (BREAKING CHANGE) Change the all-capital configure options (VT_BUILD_TESTS, VT_BUILD_EXAMPLES, etc.) to the all-lowercase convention used in cmake/configure_options.cmake and update all scripts and CI configurations appropriately.
What Needs to be Done?
cmake/configure_options.cmake
in the top-levelCMakeLists.txt
instead ofsrc/CMakeLists.txt
.option()
commands and the logic they trigger fromCMakeLists.txt
intocmake/configure_options.cmake
.option()
commands match what is used incmake/configure_options.cmake
.VT_BUILD_TESTS
,VT_BUILD_EXAMPLES
, etc.) to the all-lowercase convention used incmake/configure_options.cmake
and update all scripts and CI configurations appropriately.