[Qt-creator] Creator 4.0 and cmake -C command line argument

Konstantin Tokarev annulen at yandex.ru
Thu Sep 15 15:36:53 CEST 2016

15.09.2016, 16:27, "Clarkson, Edward C." <edward.clarkson at gtri.gatech.edu>:
> Hi,
> We use cmake to build a project that consists of several components, some of which can also be built independently of the others, but all of them share global build settings. To that end, we currently use a global initial setting cache file via the cmake –C command-line option when building via terminal/automated tools.

You can use toolchain file instead to achieve the same result

> In Creator 4.0 is it possible to replicate that (as in 3.6 and the command line text box)? Our Configure.cmake file that we use is somewhat substantial, and it would be a pain to replicate its contents by having to add each variable – and every developer would have to do it every time s/he checked out the repo.
> From my googling, I didn’t see anything that would indicate 4.1 would be any different than 4.0 w/r/t cmake configuration, but I’d be happy to be corrected on that and give it a try. Appreciate any help – thanks,
> Ed
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator


More information about the Qt-creator mailing list