Thanks David. That at least makes it easier to write the scripts for
generating the projects. It would be great if the GUI has an option to show
the full CMake command.

On Sun Nov 02 2014 at 10:13:24 AM David Cole <dlrd...@aol.com> wrote:

> 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 <saadrus...@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
>>
>
>
-- 

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

Reply via email to