Commit 626251dd authored by Ian Scott's avatar Ian Scott
Browse files

the generated makefiles/DSPfiles now depend on the aux source directory's

last modified date.
parent 11ff0db0
......@@ -31,6 +31,10 @@ bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& ar
std::string tdir = m_Makefile->GetCurrentDirectory();
tdir += "/";
tdir += templateDirectory;
// The Makefile should be dependent on the directory's last mod date,
// so that if a file is added or removed from the directory, it will
// be rescanned, and the makefile rebuilt.
m_Makefile->AddCMakeDependFile(tdir.c_str());
// Load all the files in the directory
cmDirectory dir;
if(dir.Load(tdir.c_str()))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment