mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-23 00:48:55 +08:00
Set a watch on variables added through the gui
This commit is contained in:
@@ -249,6 +249,8 @@ void QCMake::setProperties(const QCMakePropertyList& newProps)
|
|||||||
// add some new properites
|
// add some new properites
|
||||||
foreach(QCMakeProperty s, props)
|
foreach(QCMakeProperty s, props)
|
||||||
{
|
{
|
||||||
|
this->CMakeInstance->WatchUnusedCli(s.Key.toAscii().data());
|
||||||
|
|
||||||
if(s.Type == QCMakeProperty::BOOL)
|
if(s.Type == QCMakeProperty::BOOL)
|
||||||
{
|
{
|
||||||
this->CMakeInstance->AddCacheEntry(s.Key.toAscii().data(),
|
this->CMakeInstance->AddCacheEntry(s.Key.toAscii().data(),
|
||||||
|
Reference in New Issue
Block a user