mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
ENH: Added OPTIONAL option to INSTALL command to allow installation of files if they exist while ignoring them otherwise. This addresses bug#2922.
This commit is contained in:
@@ -32,7 +32,8 @@ public:
|
||||
const char* file_permissions = "",
|
||||
std::vector<std::string> const& configurations
|
||||
= std::vector<std::string>(),
|
||||
const char* component = ""
|
||||
const char* component = "",
|
||||
bool optional = false
|
||||
);
|
||||
virtual ~cmInstallTargetGenerator();
|
||||
|
||||
@@ -50,6 +51,7 @@ protected:
|
||||
std::string FilePermissions;
|
||||
std::vector<std::string> Configurations;
|
||||
std::string Component;
|
||||
bool Optional;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user