diff options
author | Sergey Shambir <sergey.shambir.auto@gmail.com> | 2013-04-29 02:31:43 +0400 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-05-14 16:39:22 +0200 |
commit | 7688754b379e0f1d558e815d6ea2e65b14396db6 (patch) | |
tree | 6ab8186a0adf504fe946007440bbf59d94f045df /src/plugins/autotoolsprojectmanager/makefileparserthread.h | |
parent | d07d683691c01ac57cdbcf65be1b5a0a6fc112d7 (diff) | |
download | qt-creator-7688754b379e0f1d558e815d6ea2e65b14396db6.tar.gz |
Autotools: added parsing defines and C/C++ flags from Makefile
Change-Id: I7443ba3ada97e4abac5560bb5399ec96e065acee
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/makefileparserthread.h')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/makefileparserthread.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/makefileparserthread.h b/src/plugins/autotoolsprojectmanager/makefileparserthread.h index 05eff169ef..c119de7c55 100644 --- a/src/plugins/autotoolsprojectmanager/makefileparserthread.h +++ b/src/plugins/autotoolsprojectmanager/makefileparserthread.h @@ -87,6 +87,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 |