[CMake] Release build from bootstrap?
Craig Scott
craig.scott at crascit.com
Fri May 19 17:55:23 EDT 2017
Yes you can pass extra CMake options on the bootstrap command line.
Appending the following should do the trick:
../cmake/bootstrap <your-other-options-here> -- -DCMAKE_BUILD_TYPE=Release
You can get full help on the bootstrap options by giving it the --help
option:
../cmake/bootstrap --help
On Sat, May 20, 2017 at 7:52 AM, David Doria <daviddoria at gmail.com> wrote:
> When I run 'bootstrap' followed by 'make' on a cmake source tree, I get a
> debug build of the 'cmake' binary. If I have an existing CMake available, I
> can build cmake by setting CMAKE_BUILD_TYPE=Release and I end up with a
> release build of the new CMake. Is it possible to get a release build
> directly out of the bootstrap procedure?
>
> Thanks,
>
> David
>
> --
>
> 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:
> http://public.kitware.com/mailman/listinfo/cmake
>
--
Craig Scott
Melbourne, Australia
https://crascit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170520/d9ee4a76/attachment-0001.html>
More information about the CMake
mailing list