diff options
Diffstat (limited to 'Source/cmCoreTryCompile.h')
-rw-r--r-- | Source/cmCoreTryCompile.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Source/cmCoreTryCompile.h b/Source/cmCoreTryCompile.h index e173a16205..4b96aedbf3 100644 --- a/Source/cmCoreTryCompile.h +++ b/Source/cmCoreTryCompile.h @@ -3,7 +3,13 @@ #ifndef cmCoreTryCompile_h #define cmCoreTryCompile_h +#include <cmConfigure.h> // IWYU pragma: keep + +#include <string> +#include <vector> + #include "cmCommand.h" +#include "cmStateTypes.h" /** \class cmCoreTryCompile * \brief Base class for cmTryCompileCommand and cmTryRunCommand @@ -35,14 +41,16 @@ protected: the error message is stored in FindErrorMessage. */ void FindOutputFile(const std::string& targetName, - cmState::TargetType targetType); - - cmTypeMacro(cmCoreTryCompile, cmCommand); + cmStateEnums::TargetType targetType); std::string BinaryDirectory; std::string OutputFile; std::string FindErrorMessage; bool SrcFileSignature; + +private: + std::vector<std::string> WarnCMP0067; + std::string LookupStdVar(std::string const& var, bool warnCMP0067); }; #endif |