[cmake-developers] How to use cmake::SetCacheArgs(...)?

Tobias Hunger tobias.hunger at gmail.com
Thu Dec 1 01:44:53 EST 2016


Am 30.11.2016 19:10 schrieb "Brad King" <brad.king at kitware.com>:
> If you want to ensure a fresh one-step configuration then always remove
> CMakeCache.txt and CMakeFiles/ before configuring.

People are really attached to their configuration and get upset when
creator runs CMake. Creator running CMake with arguments is even more
hated. Cleaning all settings and starting over with a clean configuration
is the epitome of evil:-)

Considering that there is no good way to figure out which settings were
done by the user and what is auto-detected, it is basically impossible to
restore the configuration from within Qt Creator:-(

Users do set configuration options from within Qt Creator *and* from the
command line, so I would need help from CMake to figure out the complete
set of settings done by the user.

Best Regards,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20161201/d2331b9a/attachment.html>


More information about the cmake-developers mailing list