ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code

This commit is contained in:
Bill Hoffman
2004-08-26 14:55:55 -04:00
parent 7cdf5c4601
commit 66a08c10e5
54 changed files with 907 additions and 779 deletions

View File

@@ -57,7 +57,9 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args)
}
else
{
m_Makefile->EnableLanguage(0);
// if no language is specified do c and c++
m_Makefile->EnableLanguage("C");
m_Makefile->EnableLanguage("CXX");
}
return true;
}