summaryrefslogtreecommitdiff
path: root/Source/cmTargetPropCommandBase.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-09 00:18:35 +0100
committerStephen Kelly <steveire@gmail.com>2014-04-07 18:11:18 +0200
commit4e6ca504459640ff39eac48eb62fcae95c8fc8d2 (patch)
treec0784d1596284903582ce64f5254ea4f159aa8dc /Source/cmTargetPropCommandBase.h
parent5412deded1073e9a217c771ae24e8c5a8a581a96 (diff)
downloadcmake-4e6ca504459640ff39eac48eb62fcae95c8fc8d2.tar.gz
cmTargetPropCommandBase: Change the interface to return bool.
This is needed for the target_compile_features command, which may fail at configure time if an invalid feature is specified.
Diffstat (limited to 'Source/cmTargetPropCommandBase.h')
-rw-r--r--Source/cmTargetPropCommandBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h
index 555a08a363..d42b588c97 100644
--- a/Source/cmTargetPropCommandBase.h
+++ b/Source/cmTargetPropCommandBase.h
@@ -44,7 +44,7 @@ private:
virtual void HandleImportedTarget(const std::string &tgt) = 0;
virtual void HandleMissingTarget(const std::string &name) = 0;
- virtual void HandleDirectContent(cmTarget *tgt,
+ virtual bool HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend, bool system) = 0;
@@ -52,7 +52,7 @@ private:
bool ProcessContentArgs(std::vector<std::string> const& args,
unsigned int &argIndex, bool prepend, bool system);
- void PopulateTargetProperies(const std::string &scope,
+ bool PopulateTargetProperies(const std::string &scope,
const std::vector<std::string> &content,
bool prepend, bool system);
};