blob: 0e3f690fc7645b9e9ea4c36e78da0148d3f0fbcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmQtAutoGeneratorRcc_h
#define cmQtAutoGeneratorRcc_h
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmFilePathChecksum.h"
#include "cmQtAutoGen.h"
#include "cmQtAutoGenerator.h"
#include <string>
#include <vector>
class cmMakefile;
class cmQtAutoGeneratorRcc : public cmQtAutoGenerator
{
CM_DISABLE_COPY(cmQtAutoGeneratorRcc)
public:
cmQtAutoGeneratorRcc();
private:
// -- Initialization & settings
bool InfoFileRead(cmMakefile* makefile);
void SettingsFileRead(cmMakefile* makefile);
bool SettingsFileWrite();
// -- Central processing
bool Process(cmMakefile* makefile) override;
bool RccGenerate();
// -- Config settings
std::string ConfigSuffix;
cmQtAutoGen::MultiConfig MultiConfig;
// -- Settings
bool SettingsChanged;
std::string SettingsFile;
std::string SettingsString;
// -- Directories
std::string ProjectSourceDir;
std::string ProjectBinaryDir;
std::string CurrentSourceDir;
std::string CurrentBinaryDir;
std::string AutogenBuildDir;
cmFilePathChecksum FilePathChecksum;
// -- Qt environment
std::string RccExecutable;
std::vector<std::string> RccListOptions;
// -- Job
std::string QrcFile;
std::string RccFile;
std::vector<std::string> Options;
std::vector<std::string> Inputs;
};
#endif
|