SWDEV-252745 - Adding precompiled headers to build option

Change-Id: Iab03e8a75215d80c91817ee0227d034fefa9dfad
이 커밋은 다음에 포함됨:
cjatin 작성하고 Jatin Chaudhary가 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_; }