dll support
This commit is contained in:
parent
c0b293f21b
commit
6158aa7fd6
|
@ -58,12 +58,12 @@ public:
|
||||||
/**
|
/**
|
||||||
* Construct an empty makefile.
|
* Construct an empty makefile.
|
||||||
*/
|
*/
|
||||||
cmMakefile();
|
CM_EXPORT cmMakefile();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destructor.
|
* Destructor.
|
||||||
*/
|
*/
|
||||||
~cmMakefile();
|
CM_EXPORT ~cmMakefile();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Read and parse a CMakeLists.txt file.
|
* Read and parse a CMakeLists.txt file.
|
||||||
|
@ -415,7 +415,7 @@ public:
|
||||||
* If the variable is not found in this makefile instance, the
|
* If the variable is not found in this makefile instance, the
|
||||||
* cache is then queried.
|
* cache is then queried.
|
||||||
*/
|
*/
|
||||||
const char* GetDefinition(const char*) const;
|
CM_EXPORT const char* GetDefinition(const char*) const;
|
||||||
|
|
||||||
/** Test a boolean cache entry to see if it is true or false,
|
/** Test a boolean cache entry to see if it is true or false,
|
||||||
* returns false if no entry defined.
|
* returns false if no entry defined.
|
||||||
|
@ -454,7 +454,7 @@ public:
|
||||||
* Dump documentation to a file. If 0 is returned, the
|
* Dump documentation to a file. If 0 is returned, the
|
||||||
* operation failed.
|
* operation failed.
|
||||||
*/
|
*/
|
||||||
int DumpDocumentationToFile(std::ostream&);
|
CM_EXPORT int DumpDocumentationToFile(std::ostream&);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Expand all defined varibles in the string.
|
* Expand all defined varibles in the string.
|
||||||
|
|
|
@ -36,9 +36,9 @@ public:
|
||||||
///! Register a generator
|
///! Register a generator
|
||||||
static void RegisterGenerator(cmMakefileGenerator*);
|
static void RegisterGenerator(cmMakefileGenerator*);
|
||||||
///! delete all registered generators, useful for clean up
|
///! delete all registered generators, useful for clean up
|
||||||
static void UnRegisterGenerators();
|
CM_EXPORT static void UnRegisterGenerators();
|
||||||
///! Get the names of the current registered generators
|
///! Get the names of the current registered generators
|
||||||
static void GetRegisteredGenerators(std::vector<std::string>& names);
|
CM_EXPORT static void GetRegisteredGenerators(std::vector<std::string>& names);
|
||||||
|
|
||||||
///! Get the name for the generator.
|
///! Get the name for the generator.
|
||||||
virtual const char* GetName() = 0;
|
virtual const char* GetName() = 0;
|
||||||
|
@ -80,9 +80,10 @@ public:
|
||||||
static bool GetLanguageEnabled(const char*);
|
static bool GetLanguageEnabled(const char*);
|
||||||
static void ClearEnabledLanguages();
|
static void ClearEnabledLanguages();
|
||||||
protected:
|
protected:
|
||||||
|
cmMakefile* m_Makefile;
|
||||||
|
private:
|
||||||
static std::map<cmStdString, cmMakefileGenerator*> s_RegisteredGenerators;
|
static std::map<cmStdString, cmMakefileGenerator*> s_RegisteredGenerators;
|
||||||
static std::map<cmStdString, bool> s_LanguageEnabled;
|
static std::map<cmStdString, bool> s_LanguageEnabled;
|
||||||
cmMakefile* m_Makefile;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue