[CMake] Extracting the configure and generate command

David Cole DLRdave at aol.com
Sun Nov 2 10:13:23 EST 2014


The "Show My Changes" menu item in the Tools menu gives you the -D command
line options for the things you've touched in the cmake-gui program...

HTH,
David C.


On Sat, Nov 1, 2014 at 12:16 PM, Saad Khattak <saadrustam at gmail.com> wrote:

> Once I have configured and generated a CMake project, is there a way to
> extract that into a command? So, let's say I have configured and generated
> a project using the CMake GUI. I am then able to extract
> (somehow) the full configure/generate command which looks like this:
>
> cmake -DOPTION_1=ON -DOPTION_2=OFF -G "Visual Studio 10 1010" ../
>
> --
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141102/0fa7e649/attachment.html>


More information about the CMake mailing list