cmake/Source/cmInstallScriptGenerator.h

30 lines
756 B
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmInstallScriptGenerator_h
#define cmInstallScriptGenerator_h
2017-07-20 19:35:53 +02:00
#include "cmConfigure.h"
2016-10-30 18:24:19 +01:00
#include "cmInstallGenerator.h"
2016-10-30 18:24:19 +01:00
#include <iosfwd>
#include <string>
/** \class cmInstallScriptGenerator
* \brief Generate target installation rules.
*/
2016-07-09 11:21:54 +02:00
class cmInstallScriptGenerator : public cmInstallGenerator
{
public:
cmInstallScriptGenerator(const char* script, bool code,
2016-07-09 11:21:54 +02:00
const char* component, bool exclude_from_all);
2016-10-30 18:24:19 +01:00
~cmInstallScriptGenerator() CM_OVERRIDE;
protected:
2016-10-30 18:24:19 +01:00
void GenerateScript(std::ostream& os) CM_OVERRIDE;
std::string Script;
bool Code;
};
#endif