Refactor GenerateGlobalCFlagsAndProperties
[reactos.git] / reactos / tools / rbuild / backend / mingw / mingw.h
1 #ifndef MINGW_H
2 #define MINGW_H
3
4 #include "../backend.h"
5 #include "modulehandler.h"
6
7 class MingwBackend : public Backend
8 {
9 public:
10 MingwBackend ( Project& project );
11 virtual void Process ();
12 private:
13 void ProcessModule ( Module& module );
14 void CreateMakefile ();
15 void CloseMakefile ();
16 void GenerateHeader ();
17 void GenerateProjectCFlagsMacro ( const char* assignmentOperation,
18 const std::vector<Include*>& includes,
19 const std::vector<Define*>& defines ) const;
20 void GenerateGlobalCFlagsAndProperties ( const char* op,
21 const std::vector<Property*>& properties,
22 const std::vector<Include*>& includes,
23 const std::vector<Define*>& defines,
24 const std::vector<If*>& ifs );
25 std::string GenerateProjectLFLAGS ();
26 void GenerateGlobalVariables ();
27 void GenerateAllTarget ();
28 FILE* fMakefile;
29 };
30
31 std::string FixupTargetFilename ( const std::string& targetFilename );
32
33 #endif /* MINGW_H */