|
@@ -586,6 +586,16 @@ void cmake::SetArgs(const std::vector<std::string>& args)
|
|
|
// skip for now
|
|
// skip for now
|
|
|
i++;
|
|
i++;
|
|
|
}
|
|
}
|
|
|
|
|
+ else if(arg.find("-Wno-dev",0) == 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ // skip for now
|
|
|
|
|
+ i++;
|
|
|
|
|
+ }
|
|
|
|
|
+ else if(arg.find("-Wdev",0) == 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ // skip for now
|
|
|
|
|
+ i++;
|
|
|
|
|
+ }
|
|
|
else if(arg.find("--graphviz=",0) == 0)
|
|
else if(arg.find("--graphviz=",0) == 0)
|
|
|
{
|
|
{
|
|
|
std::string path = arg.substr(strlen("--graphviz="));
|
|
std::string path = arg.substr(strlen("--graphviz="));
|
|
@@ -4172,6 +4182,12 @@ void cmake::IssueMessage(cmake::MessageType t, std::string const& text,
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // Add a note about warning suppression.
|
|
|
|
|
+ if(t == cmake::AUTHOR_WARNING)
|
|
|
|
|
+ {
|
|
|
|
|
+ msg << "This warning may be suppressed using the -Wno-dev option.";
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// Add a terminating blank line.
|
|
// Add a terminating blank line.
|
|
|
msg << "\n";
|
|
msg << "\n";
|
|
|
|
|
|