Autotools: added parsing defines and C/C++ flags from Makefile

Change-Id: I7443ba3ada97e4abac5560bb5399ec96e065acee
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Sergey Shambir
2013-04-29 02:31:43 +04:00
committed by hjk
parent d07d683691
commit 7688754b37
5 changed files with 188 additions and 13 deletions

View File

@@ -86,6 +86,24 @@ public:
*/
QStringList includePaths() const;
/**
* @return Concatenated defines. Should be invoked, after the signal
* finished() has been emitted.
*/
QByteArray defines() const;
/**
* @return List of compiler flags for C. Should be invoked, after the signal
* finished() has been emitted.
*/
QStringList cflags() const;
/**
* @return List of compiler flags for C++. Should be invoked, after the
* signal finished() has been emitted.
*/
QStringList cxxflags() const;
/**
* @return True, if an error occurred during the parsing. Should be invoked,
* after the signal finished() has been emitted.
@@ -122,6 +140,9 @@ private:
QStringList m_sources; ///< Return value for MakefileParserThread::sources()
QStringList m_makefiles; ///< Return value for MakefileParserThread::makefiles()
QStringList m_includePaths; ///< Return value for MakefileParserThread::includePaths()
QByteArray m_defines; ///< Return value for MakefileParserThread::defines()
QStringList m_cflags; ///< Return value for MakefileParserThread::cflags()
QStringList m_cxxflags; ///< Return value for MakefileParserThread::cxxflags()
};
} // namespace Internal