mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
Implement interprocedural optimization for GNU compilers
Honor the `INTERPROCEDURAL_OPTIMIZATION` target property for GNU compilers by activating their link-time-optimization (LTO) flags.
This commit is contained in:
committed by
Brad King
parent
1588a577d1
commit
dfa8263f4b
@@ -309,6 +309,9 @@ public:
|
||||
void GetAppleArchs(const std::string& config,
|
||||
std::vector<std::string>& archVec) const;
|
||||
|
||||
std::string GetFeatureSpecificLinkRuleVariable(
|
||||
std::string const& var, std::string const& config) const;
|
||||
|
||||
/** Return the rule variable used to create this type of target. */
|
||||
std::string GetCreateRuleVariable(std::string const& lang,
|
||||
std::string const& config) const;
|
||||
|
||||
Reference in New Issue
Block a user