Fix line-too-long style violations
The commit "Define per-target OSX_ARCHITECTURES property" introduced some long lines. This wraps them into multiple shorter lines.
This commit is contained in:
parent
11d85a5748
commit
867a1cc12c
@ -134,7 +134,8 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
void AddArchitectureFlags(std::string& flags, cmTarget* target, const char *lang, const char* config);
|
void AddArchitectureFlags(std::string& flags, cmTarget* target,
|
||||||
|
const char *lang, const char* config);
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
void AddLanguageFlags(std::string& flags, const char* lang,
|
void AddLanguageFlags(std::string& flags, const char* lang,
|
||||||
|
@ -230,7 +230,8 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
|
|||||||
this->AddFeatureFlags(flags, linkLanguage);
|
this->AddFeatureFlags(flags, linkLanguage);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
this->LocalGenerator->AddArchitectureFlags(flags, this->Target, linkLanguage, this->ConfigName);
|
this->LocalGenerator->AddArchitectureFlags(flags, this->Target,
|
||||||
|
linkLanguage, this->ConfigName);
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
// Add target-specific linker flags.
|
// Add target-specific linker flags.
|
||||||
|
@ -683,7 +683,8 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
|
|||||||
this->AddFeatureFlags(langFlags, linkLanguage);
|
this->AddFeatureFlags(langFlags, linkLanguage);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
this->LocalGenerator->AddArchitectureFlags(langFlags, this->Target, linkLanguage, this->ConfigName);
|
this->LocalGenerator->AddArchitectureFlags(langFlags, this->Target,
|
||||||
|
linkLanguage, this->ConfigName);
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
// remove any language flags that might not work with the
|
// remove any language flags that might not work with the
|
||||||
|
@ -295,7 +295,8 @@ void cmMakefileTargetGenerator::WriteTargetLanguageFlags()
|
|||||||
this->AddFeatureFlags(flags, lang);
|
this->AddFeatureFlags(flags, lang);
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
this->LocalGenerator->AddArchitectureFlags(flags, this->Target, lang, this->ConfigName);
|
this->LocalGenerator->AddArchitectureFlags(flags, this->Target,
|
||||||
|
lang, this->ConfigName);
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
// Fortran-specific flags computed for this target.
|
// Fortran-specific flags computed for this target.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user