mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
GHS: Fix include-what-you-use and clang-tidy diagnostics
We will soon build GHS sources on Linux where we run these lints.
This commit is contained in:
@@ -7,8 +7,12 @@
|
||||
|
||||
#include "cmTarget.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmCustomCommand;
|
||||
class cmGeneratedFileStream;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGhsMultiGenerator;
|
||||
class cmLocalGhsMultiGenerator;
|
||||
@@ -51,12 +55,13 @@ private:
|
||||
cmTarget::CustomCommandType commandType);
|
||||
void WriteSources(std::ostream& fout_proj);
|
||||
void WriteSourceProperty(std::ostream& fout, const cmSourceFile* sf,
|
||||
std::string propName, std::string propFlag);
|
||||
std::string const& propName,
|
||||
std::string const& propFlag);
|
||||
void WriteReferences(std::ostream& fout);
|
||||
static void WriteObjectLangOverride(std::ostream& fout,
|
||||
const cmSourceFile* sourceFile);
|
||||
|
||||
bool DetermineIfIntegrityApp(void);
|
||||
bool DetermineIfIntegrityApp();
|
||||
cmGeneratorTarget* GeneratorTarget;
|
||||
cmLocalGhsMultiGenerator* LocalGenerator;
|
||||
cmMakefile* Makefile;
|
||||
|
||||
Reference in New Issue
Block a user