summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-20 20:47:50 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-26 14:02:08 (GMT)
commit91abf9f3c4a80f5a8417401d5277b3b66bc7d008 (patch)
treeff61f00c07626d0f2ac3b2b0cf8dedd2802392a0 /Source/cmTarget.h
parentf151a5770597dbe341fc6329a711f40e9195c773 (diff)
downloadCMake-91abf9f3c4a80f5a8417401d5277b3b66bc7d008.zip
CMake-91abf9f3c4a80f5a8417401d5277b3b66bc7d008.tar.gz
CMake-91abf9f3c4a80f5a8417401d5277b3b66bc7d008.tar.bz2
cmCustomCommand: Move custom commands
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 1b4f23a..65a1ce3 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -84,14 +84,17 @@ public:
//! Get the list of the PRE_BUILD custom commands for this target
std::vector<cmCustomCommand> const& GetPreBuildCommands() const;
void AddPreBuildCommand(cmCustomCommand const& cmd);
+ void AddPreBuildCommand(cmCustomCommand&& cmd);
//! Get the list of the PRE_LINK custom commands for this target
std::vector<cmCustomCommand> const& GetPreLinkCommands() const;
void AddPreLinkCommand(cmCustomCommand const& cmd);
+ void AddPreLinkCommand(cmCustomCommand&& cmd);
//! Get the list of the POST_BUILD custom commands for this target
std::vector<cmCustomCommand> const& GetPostBuildCommands() const;
void AddPostBuildCommand(cmCustomCommand const& cmd);
+ void AddPostBuildCommand(cmCustomCommand&& cmd);
//! Add sources to the target.
void AddSources(std::vector<std::string> const& srcs);