summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-05 15:31:57 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-05 15:31:57 (GMT)
commit934c804ea44236baa59369cd28b018430d1b5b1d (patch)
treed458bbefcd53727690ad2dc9bde9eccc07269bc1 /Source/cmInstallTargetGenerator.h
parent16b781360c5d1f0264047596711d11dcb5b768a9 (diff)
downloadCMake-934c804ea44236baa59369cd28b018430d1b5b1d.zip
CMake-934c804ea44236baa59369cd28b018430d1b5b1d.tar.gz
CMake-934c804ea44236baa59369cd28b018430d1b5b1d.tar.bz2
ENH: Added OPTIONAL option to INSTALL command to allow installation of files if they exist while ignoring them otherwise. This addresses bug#2922.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index 63eea30..77f9fec 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -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