diff options
author | Brad King <brad.king@kitware.com> | 2006-05-05 18:57:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-05 18:57:19 (GMT) |
commit | 50a0f71120afe28c205bacab5a1350eb04815f3d (patch) | |
tree | 7f3473d0e452b39c63e59763cca41167f3483a26 /Source/cmInstallGenerator.h | |
parent | 059320a5774fcaaced1a6155fec7dd5816bb1f75 (diff) | |
download | CMake-50a0f71120afe28c205bacab5a1350eb04815f3d.zip CMake-50a0f71120afe28c205bacab5a1350eb04815f3d.tar.gz CMake-50a0f71120afe28c205bacab5a1350eb04815f3d.tar.bz2 |
ENH: Added CONFIGURATIONS option to INSTALL command to allow per-configuration install rules.
Diffstat (limited to 'Source/cmInstallGenerator.h')
-rw-r--r-- | Source/cmInstallGenerator.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Source/cmInstallGenerator.h b/Source/cmInstallGenerator.h index fee0d68..017c63a 100644 --- a/Source/cmInstallGenerator.h +++ b/Source/cmInstallGenerator.h @@ -34,12 +34,15 @@ public: void Generate(std::ostream& os, const char* config, std::vector<std::string> const& configurationTypes); - static void AddInstallRule(std::ostream& os, const char* dest, int type, - const char* file, bool optional = false, - const char* properties = 0, - const char* permissions = 0, - const char* component = 0, - const char* rename = 0); + static void AddInstallRule( + std::ostream& os, const char* dest, int type, + const char* file, bool optional = false, + const char* properties = 0, + const char* permissions = 0, + std::vector<std::string> const& configurations =std::vector<std::string>(), + const char* component = 0, + const char* rename = 0 + ); protected: virtual void GenerateScript(std::ostream& os)=0; |