/src/CMake/Source/cmSpecializedRule.cxx
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst or https://cmake.org/licensing for details. */ |
3 | | |
4 | | #include <string> |
5 | | #include <utility> |
6 | | |
7 | | #include "cmRule.h" |
8 | | |
9 | | class cmMakefile; |
10 | | |
11 | | cmSpecializedRule::cmSpecializedRule(cmMakefile& makefile, std::string name, |
12 | | cmRule const& parent, cm::RuleScope scope) |
13 | 0 | : cmRule(parent, makefile, std::move(name), scope) |
14 | 0 | , ParentRule(parent) |
15 | 0 | { |
16 | 0 | } |
17 | | |
18 | | std::string const& cmSpecializedRule::GetParentName() const |
19 | 0 | { |
20 | 0 | return this->ParentRule.GetName(); |
21 | 0 | } |
22 | | |
23 | | cmSpecializedRule::CustomCommands const& cmSpecializedRule::GetCommands() const |
24 | 0 | { |
25 | 0 | return this->ParentRule.GetCommands(); |
26 | 0 | } |
27 | | std::vector<std::string> const& cmSpecializedRule::GetOutputs() const |
28 | 0 | { |
29 | 0 | return this->ParentRule.GetOutputs(); |
30 | 0 | } |
31 | | |
32 | | std::vector<std::string> const& cmSpecializedRule::GetByproducts() const |
33 | 0 | { |
34 | 0 | return this->ParentRule.GetByproducts(); |
35 | 0 | } |
36 | | |
37 | | std::vector<std::string> const& cmSpecializedRule::GetDepends() const |
38 | 0 | { |
39 | 0 | return this->ParentRule.GetDepends(); |
40 | 0 | } |
41 | | |
42 | | std::string const& cmSpecializedRule::GetDepfile() const |
43 | 0 | { |
44 | 0 | return this->ParentRule.GetDepfile(); |
45 | 0 | } |