You can pass CMake arguments to the bootstrap by doing: ./bootstrap <options> -- -DBUILD_TESTING=OFF
On Mon, Feb 11, 2019 at 12:03 PM Jon Haitz Legarreta Gorroño <jon.haitz.legarr...@gmail.com> wrote: > > Hi, > > I'm trying to build CMake from sources using the `bootstrap` script. > > Please, correct me if I'm wrong, but it looks like CMake is being > built with `BUILD_TESTING=ON` by default. > > I'd like to disable testing (and any other non-essential option), but > AFAIK bootstrap does not expose the `-DBUILD_TESTING` flag, or I have > not found a way to set it to `OFF`. > > Is this possible / does this make sense at all? Can anyone please > provide me with the pointers to do so? > > Thank you, > JON HAITZ > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > https://cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake