ENH: add GetCleanTargetName() which returns "clean" for makefiles, so it can
be used by the eclipse generator Alex
This commit is contained in:
parent
153810cd82
commit
4ed64cf73a
|
@ -224,6 +224,7 @@ public:
|
||||||
virtual const char* GetPackageSourceTargetName(){ return 0; }
|
virtual const char* GetPackageSourceTargetName(){ return 0; }
|
||||||
virtual const char* GetEditCacheTargetName() { return 0; }
|
virtual const char* GetEditCacheTargetName() { return 0; }
|
||||||
virtual const char* GetRebuildCacheTargetName() { return 0; }
|
virtual const char* GetRebuildCacheTargetName() { return 0; }
|
||||||
|
virtual const char* GetCleanTargetName() { return 0; }
|
||||||
|
|
||||||
// what targets does the specified target depend on
|
// what targets does the specified target depend on
|
||||||
std::vector<cmTarget *>& GetTargetDepends(cmTarget& target);
|
std::vector<cmTarget *>& GetTargetDepends(cmTarget& target);
|
||||||
|
|
|
@ -177,6 +177,7 @@ protected:
|
||||||
virtual const char* GetPackageSourceTargetName(){ return "package_source"; }
|
virtual const char* GetPackageSourceTargetName(){ return "package_source"; }
|
||||||
virtual const char* GetEditCacheTargetName() { return "edit_cache"; }
|
virtual const char* GetEditCacheTargetName() { return "edit_cache"; }
|
||||||
virtual const char* GetRebuildCacheTargetName() { return "rebuild_cache"; }
|
virtual const char* GetRebuildCacheTargetName() { return "rebuild_cache"; }
|
||||||
|
virtual const char* GetCleanTargetName() { return "clean"; }
|
||||||
|
|
||||||
// Some make programs (Borland) do not keep a rule if there are no
|
// Some make programs (Borland) do not keep a rule if there are no
|
||||||
// dependencies or commands. This is a problem for creating rules
|
// dependencies or commands. This is a problem for creating rules
|
||||||
|
|
Loading…
Reference in New Issue