Merge topic 'factor-out-common-generator'

80d75246 cmNinjaTargetGenerator: Restore addition of Fortran format flags
This commit is contained in:
Brad King 2015-07-14 10:34:24 -04:00 committed by CMake Topic Stage
commit e7251049a4
1 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,12 @@ cmNinjaTargetGenerator::ComputeFlagsForObject(cmSourceFile const* source,
{
std::string flags = this->GetFlags(language);
// Add Fortran format flags.
if(language == "Fortran")
{
this->AppendFortranFormatFlags(flags, *source);
}
// Add source file specific flags.
this->LocalGenerator->AppendFlags(flags,
source->GetProperty("COMPILE_FLAGS"));