mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 11:18:40 +08:00
Remove unused 'class cmake' members
* The `InTryCompile` member has been unused since commit62854e9966
(cmState: Move try_compile state from cmake class., 2015-04-11, v3.3.0-rc1~196^2~9). * The `ConvertMessageType` and `IsMessageTypeVisible` members have been unused since commit421012a330
(cmMessenger: Extract from cmake class, 2016-01-28, v3.7.0-rc1~222^2~1). * The `InitializeProperties` member has been unused since commitde722d7d63
(Move property initialization to cmState., 2015-04-06, v3.3.0-rc1~196^2~1). Co-Author: Vitaly Stakhovsky <vvs31415@gitlab.org>
This commit is contained in:
@@ -443,7 +443,6 @@ public:
|
||||
|
||||
protected:
|
||||
void RunCheckForUnusedVariables();
|
||||
void InitializeProperties();
|
||||
int HandleDeleteCacheVariables(const std::string& var);
|
||||
|
||||
typedef std::vector<cmGlobalGeneratorFactory*> RegisteredGeneratorsVector;
|
||||
@@ -486,7 +485,6 @@ protected:
|
||||
|
||||
private:
|
||||
ProgressCallbackType ProgressCallback;
|
||||
bool InTryCompile;
|
||||
WorkingMode CurrentWorkingMode;
|
||||
bool DebugOutput;
|
||||
bool Trace;
|
||||
@@ -534,18 +532,6 @@ private:
|
||||
|
||||
void AppendGlobalGeneratorsDocumentation(std::vector<cmDocumentationEntry>&);
|
||||
void AppendExtraGeneratorsDocumentation(std::vector<cmDocumentationEntry>&);
|
||||
|
||||
/**
|
||||
* Convert a message type between a warning and an error, based on the state
|
||||
* of the error output CMake variables, in the cache.
|
||||
*/
|
||||
MessageType ConvertMessageType(MessageType t) const;
|
||||
|
||||
/*
|
||||
* Check if messages of this type should be output, based on the state of the
|
||||
* warning and error output CMake variables, in the cache.
|
||||
*/
|
||||
bool IsMessageTypeVisible(MessageType t) const;
|
||||
};
|
||||
|
||||
#define CMAKE_STANDARD_OPTIONS_TABLE \
|
||||
|
Reference in New Issue
Block a user