diff options
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r-- | Source/cmTest.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h index 521981d..0d601ec 100644 --- a/Source/cmTest.h +++ b/Source/cmTest.h @@ -63,11 +63,17 @@ public: void SetMakefile(cmMakefile *mf); cmMakefile *GetMakefile() { return this->Makefile;}; + /** Get/Set whether this is an old-style test. */ + bool GetOldStyle() const { return this->OldStyle; } + void SetOldStyle(bool b) { this->OldStyle = b; } + private: cmPropertyMap Properties; cmStdString Name; std::vector<std::string> Command; + bool OldStyle; + // The cmMakefile instance that owns this target. This should // always be set. cmMakefile* Makefile; |