ENH: Added INSTALL(CODE) mode to allow inline specification of install script code. This reduces the need for configuring an install script that needs some variable settings because the install code can set thing up first.

This commit is contained in:
Brad King
2006-04-12 22:04:50 -04:00
parent 58641b2ceb
commit d4c5fe840b
10 changed files with 61 additions and 7 deletions

View File

@@ -25,12 +25,13 @@
class cmInstallScriptGenerator: public cmInstallGenerator
{
public:
cmInstallScriptGenerator(const char* script);
cmInstallScriptGenerator(const char* script, bool code = false);
virtual ~cmInstallScriptGenerator();
protected:
virtual void GenerateScript(std::ostream& os);
std::string Script;
bool Code;
};
#endif