~ubuntu-branches/ubuntu/karmic/codelite/karmic

« back to all changes in this revision

Viewing changes to QmakePlugin/qmakegenerator.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-08-15 17:42:43 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090815174243-nlb9ikgigbiybz12
Tags: 1.0.2893+dfsg-0ubuntu1
* debian/rules:
  + Tidy up get-orig-source rule
* debian/control:
  + Bump Standards-Version
  + Change Maintainer email address to @ubuntu.com
  + Drop cdbs build-dependency
* debian/copyright:
  + Update to DEP-5 format
* debian/patches/00_add-fPIC.patch:
  + Dropped, fix upstream
* Closes LP: #413992

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __qmakegenerator__
 
2
#define __qmakegenerator__
 
3
 
 
4
#include <wx/string.h>
 
5
#include "qmakeplugindata.h"
 
6
#include "project_settings.h"
 
7
#include "build_config.h"
 
8
#include "project.h"
 
9
 
 
10
class IManager;
 
11
 
 
12
class QMakeProFileGenerator {
 
13
        IManager*     m_manager;
 
14
        wxString      m_project;
 
15
        wxString      m_configuration;
 
16
        wxString      m_makefilePath;
 
17
 
 
18
        void     SetVariables   ( wxString &pro_file, BuildConfigPtr bldConf, ProjectSettingsPtr settings);
 
19
        void     SetFiles       ( wxString &pro_file, ProjectPtr proj);
 
20
        wxString prepareVariable( const wxString &variable );
 
21
 
 
22
public:
 
23
        QMakeProFileGenerator(IManager *manager, const wxString &project, const wxString &configuration);
 
24
        virtual ~QMakeProFileGenerator();
 
25
 
 
26
        /**
 
27
         * @brief generate .pro file to build the project with its dependencies
 
28
         * @param project project name
 
29
         * @param configuration the selected configuration
 
30
         * @return true on success
 
31
         */
 
32
        bool Generate();
 
33
 
 
34
        /**
 
35
         * @brief return the name of the generated pro file
 
36
         */
 
37
        wxString GetProFileName();
 
38
};
 
39
#endif // __qmakegenerator__