diff options
author | Brad King <brad.king@kitware.com> | 2011-12-05 21:28:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-12-05 21:37:43 (GMT) |
commit | 61e862986ae56e111533c21759a4e01a41968d1e (patch) | |
tree | b4a26ad9968fd18cfd36023c7c85c1d7c882e2a8 /Source/cmMakefileTargetGenerator.h | |
parent | a603250a132d3a38428b6c3e2f425c1a0b2c3878 (diff) | |
download | CMake-61e862986ae56e111533c21759a4e01a41968d1e.zip CMake-61e862986ae56e111533c21759a4e01a41968d1e.tar.gz CMake-61e862986ae56e111533c21759a4e01a41968d1e.tar.bz2 |
Factor makefile generator link rule lookup into helper function
This provides a place in the makefile generators to adjust the link
rules for both libraries and executables.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r-- | Source/cmMakefileTargetGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h index 674cd13..8fba13f 100644 --- a/Source/cmMakefileTargetGenerator.h +++ b/Source/cmMakefileTargetGenerator.h @@ -120,6 +120,9 @@ protected: // Append link rule dependencies (objects, etc.). void AppendLinkDepends(std::vector<std::string>& depends); + // Lookup the link rule for this target. + std::string GetLinkRule(const char* linkRuleVar); + /** In order to support parallel builds for custom commands with multiple outputs the outputs are given a serial order, and only the first output actually has the build rule. Other outputs |