mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 05:01:50 -06:00
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.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user