diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-04-26 18:53:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-04-26 18:53:44 (GMT) |
commit | 2c1fb789d7a182ab0df53aad474a657d59d894b0 (patch) | |
tree | 3f4db8d752a6f3a218e92ad470efb97b5e7421c7 /Source/cmOptionCommand.cxx | |
parent | 6e5af0e6ccbb0f2c0a4aec00003ea0ce68ea2f95 (diff) | |
download | CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.zip CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.tar.gz CMake-2c1fb789d7a182ab0df53aad474a657d59d894b0.tar.bz2 |
ENH: add help for cache entries
Diffstat (limited to 'Source/cmOptionCommand.cxx')
-rw-r--r-- | Source/cmOptionCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx index 92f0468..3b7b34c 100644 --- a/Source/cmOptionCommand.cxx +++ b/Source/cmOptionCommand.cxx @@ -30,7 +30,9 @@ bool cmOptionCommand::Invoke(std::vector<std::string>& args) = cmCacheManager::GetInstance()->GetCacheValue(args[0].c_str()); if(!cacheValue) { - cmCacheManager::GetInstance()->AddCacheEntry(args[0].c_str(),false); + cmCacheManager::GetInstance()->AddCacheEntry(args[0].c_str(), + false, + "Option command"); m_Makefile->AddDefinition(args[0].c_str(), "0"); } else |