diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-07 18:52:29 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-07 18:52:29 (GMT) |
commit | 4f77d737c9d2ee681e17f5a672e18e85164550f1 (patch) | |
tree | 3fdcdaeac75422a958ff4e288adeafaf15de0ecf /Source/cmUnixMakefileGenerator.cxx | |
parent | 5b4a11af80d27649ef191f918e92c3e41779e987 (diff) | |
download | CMake-4f77d737c9d2ee681e17f5a672e18e85164550f1.zip CMake-4f77d737c9d2ee681e17f5a672e18e85164550f1.tar.gz CMake-4f77d737c9d2ee681e17f5a672e18e85164550f1.tar.bz2 |
ENH: move utilities to targets from makefile, and add versioning to cache
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index ffcf4c5..7909873 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -457,30 +457,6 @@ void cmUnixMakefileGenerator::OutputDependencies(std::ostream& fout) << "; make " << library.c_str() << "\n\n"; } } - - std::vector<std::string>& utils = m_Makefile->GetUtilities(); - std::vector<std::string>& utildirs = m_Makefile->GetUtilityDirectories(); - std::vector<std::string>::iterator dir, util; - // Search the list of utilities that may be used to generate code for - // this project. - for(util = utils.begin(); util != utils.end(); ++util) - { - bool found = false; - // loop over the list of directories that the utilities might - // be in, looking for an ADD_EXECUTABLE(util ...) line. - for(dir = utildirs.begin(); dir != utildirs.end() && !found; ++dir) - { - std::string expression = "TARGETS =.*"; - expression += util->c_str(); - if(cmSystemTools::Grep(dir->c_str(), "Makefile", - expression.c_str())) - { - fout << *util << " "; - found = true; - } - } - } - fout << "\n"; } |