|
|
@@ -34,6 +34,16 @@ void cmSourceFile::SetSpecialSourceType(cmSourceFile::SpecialSourceType type)
|
|
|
this->SpecialSource = type;
|
|
|
}
|
|
|
|
|
|
+bool cmSourceFile::IsPchHeader() const
|
|
|
+{
|
|
|
+ return this->SpecialSource == SpecialSourceType::PchHeader;
|
|
|
+}
|
|
|
+
|
|
|
+bool cmSourceFile::IsPchSource() const
|
|
|
+{
|
|
|
+ return this->SpecialSource == SpecialSourceType::PchSource;
|
|
|
+}
|
|
|
+
|
|
|
std::string const& cmSourceFile::GetExtension() const
|
|
|
{
|
|
|
return this->Extension;
|