|
|
@@ -12,7 +12,7 @@
|
|
|
#include <vector>
|
|
|
|
|
|
class cmFileTimeCache;
|
|
|
-class cmLocalGenerator;
|
|
|
+class cmLocalUnixMakefileGenerator3;
|
|
|
|
|
|
/** \class cmDepends
|
|
|
* \brief Dependency scanner superclass.
|
|
|
@@ -29,7 +29,8 @@ public:
|
|
|
public:
|
|
|
/** Instances need to know the build directory name and the relative
|
|
|
path from the build directory to the target file. */
|
|
|
- cmDepends(cmLocalGenerator* lg = nullptr, std::string targetDir = "");
|
|
|
+ cmDepends(cmLocalUnixMakefileGenerator3* lg = nullptr,
|
|
|
+ std::string targetDir = "");
|
|
|
|
|
|
cmDepends(cmDepends const&) = delete;
|
|
|
cmDepends& operator=(cmDepends const&) = delete;
|
|
|
@@ -38,7 +39,10 @@ public:
|
|
|
scanning dependencies. This is not a full local generator; it
|
|
|
has been setup to do relative path conversions for the current
|
|
|
directory. */
|
|
|
- void SetLocalGenerator(cmLocalGenerator* lg) { this->LocalGenerator = lg; }
|
|
|
+ void SetLocalGenerator(cmLocalUnixMakefileGenerator3* lg)
|
|
|
+ {
|
|
|
+ this->LocalGenerator = lg;
|
|
|
+ }
|
|
|
|
|
|
/** Set the specific language to be scanned. */
|
|
|
void SetLanguage(const std::string& lang) { this->Language = lang; }
|
|
|
@@ -92,7 +96,7 @@ protected:
|
|
|
std::ostream& internalDepends);
|
|
|
|
|
|
// The local generator.
|
|
|
- cmLocalGenerator* LocalGenerator;
|
|
|
+ cmLocalUnixMakefileGenerator3* LocalGenerator;
|
|
|
|
|
|
// Flag for verbose output.
|
|
|
bool Verbose = false;
|