mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user