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 <[email protected]> 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
