SWDEV-252745 - Adding precompiled headers to build option

Change-Id: Iab03e8a75215d80c91817ee0227d034fefa9dfad
このコミットが含まれているのは:
cjatin authored and Jatin Chaudhary committed 2021-02-09 23:33:55 -05:00
1 親 6966d8098e
コミット 5cfea2981b
4ファイル変更
+70 -17

検索条件に一致するファイルはありません

+3
ファイルの表示
@@ -106,6 +106,7 @@ class Program : public RuntimeObject {
std::vector<std::string> headerNames_;
std::vector<std::string> headers_;
std::vector<std::string> precompiledHeaders_; //!< Precompiled Headers
std::string sourceCode_; //!< Strings that make up the source code
Language language_; //!< Input source language
devicebinary_t binary_; //!< The binary image, provided by the app
@@ -178,6 +179,8 @@ class Program : public RuntimeObject {
//! Append to source code.
void appendToSource(const char* newCode) { sourceCode_.append(newCode); }
void addPreCompiledHeader(const std::string& pch) { precompiledHeaders_.push_back(pch); }
//! Return the program log.
const std::string& programLog() const { return programLog_; }