diff options
Diffstat (limited to 'Source/cmInstallDirectoryGenerator.h')
-rw-r--r-- | Source/cmInstallDirectoryGenerator.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Source/cmInstallDirectoryGenerator.h b/Source/cmInstallDirectoryGenerator.h index af310f3..0f91a59 100644 --- a/Source/cmInstallDirectoryGenerator.h +++ b/Source/cmInstallDirectoryGenerator.h @@ -9,6 +9,7 @@ #include <vector> #include "cmInstallGenerator.h" +#include "cmListFileCache.h" #include "cmScriptGenerator.h" class cmLocalGenerator; @@ -19,19 +20,20 @@ class cmLocalGenerator; class cmInstallDirectoryGenerator : public cmInstallGenerator { public: - cmInstallDirectoryGenerator(std::vector<std::string> const& dirs, - std::string const& dest, - std::string file_permissions, - std::string dir_permissions, - std::vector<std::string> const& configurations, - std::string const& component, - MessageLevel message, bool exclude_from_all, - std::string literal_args, bool optional = false); + cmInstallDirectoryGenerator( + std::vector<std::string> const& dirs, std::string const& dest, + std::string file_permissions, std::string dir_permissions, + std::vector<std::string> const& configurations, + std::string const& component, MessageLevel message, bool exclude_from_all, + std::string literal_args, bool optional, cmListFileBacktrace backtrace); ~cmInstallDirectoryGenerator() override; bool Compute(cmLocalGenerator* lg) override; std::string GetDestination(std::string const& config) const; + std::vector<std::string> GetDirectories(std::string const& config) const; + + bool GetOptional() const { return this->Optional; } protected: void GenerateScriptActions(std::ostream& os, Indent indent) override; |