diff options
author | Brad King <brad.king@kitware.com> | 2001-05-07 22:14:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-05-07 22:14:13 (GMT) |
commit | 0829faa9e180abc0be38f634bbb3ba63ac0b3702 (patch) | |
tree | 6897841cb621c82ad3b360769a9e857bcb4d0777 /Source/cmAddExecutableCommand.cxx | |
parent | 885e37da224353e242e7135b0fc8e6f2445a54c7 (diff) | |
download | CMake-0829faa9e180abc0be38f634bbb3ba63ac0b3702.zip CMake-0829faa9e180abc0be38f634bbb3ba63ac0b3702.tar.gz CMake-0829faa9e180abc0be38f634bbb3ba63ac0b3702.tar.bz2 |
ENH: Moved cache entry addition into cmMakefile::AddLibrary and AddExecutable so that commands do not have to add it explicitly.
Diffstat (limited to 'Source/cmAddExecutableCommand.cxx')
-rw-r--r-- | Source/cmAddExecutableCommand.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx index 39e0291..2988c6d 100644 --- a/Source/cmAddExecutableCommand.cxx +++ b/Source/cmAddExecutableCommand.cxx @@ -54,11 +54,6 @@ bool cmAddExecutableCommand::Invoke(std::vector<std::string>& args) std::vector<std::string> srclists(++s, args.end()); m_Makefile->AddExecutable(args[0].c_str(),srclists); - // Add an entry into the cache - cmCacheManager::GetInstance()-> - AddCacheEntry(args[0].c_str(), - m_Makefile->GetCurrentOutputDirectory(), - "Path to an executable", cmCacheManager::INTERNAL); return true; } |