forked from qt-creator/qt-creator
		
	Move build environment customization down to BuildConfiguration
The functionality was duplicated between the Qt4 and CMake build configurations and their configuration widgets. This change moves it down to BuildConfiguration, in addition also making it available for the Generic Project. Also provides an upgrade path for the configuration. Task-number: QTCREATOR-24 Reviewed-by: dt Reviewed-by: Tobias Hunger
This commit is contained in:
		@@ -50,14 +50,6 @@ public:
 | 
			
		||||
 | 
			
		||||
    CMakeTarget *cmakeTarget() const;
 | 
			
		||||
 | 
			
		||||
    ProjectExplorer::Environment environment() const;
 | 
			
		||||
    ProjectExplorer::Environment baseEnvironment() const;
 | 
			
		||||
    QString baseEnvironmentText() const;
 | 
			
		||||
    void setUserEnvironmentChanges(const QList<ProjectExplorer::EnvironmentItem> &diff);
 | 
			
		||||
    QList<ProjectExplorer::EnvironmentItem> userEnvironmentChanges() const;
 | 
			
		||||
    bool useSystemEnvironment() const;
 | 
			
		||||
    void setUseSystemEnvironment(bool b);
 | 
			
		||||
 | 
			
		||||
    virtual QString buildDirectory() const;
 | 
			
		||||
 | 
			
		||||
    ProjectExplorer::ToolChain::ToolChainType toolChainType() const;
 | 
			
		||||
@@ -80,8 +72,6 @@ protected:
 | 
			
		||||
private:
 | 
			
		||||
    void updateToolChain() const;
 | 
			
		||||
    mutable ProjectExplorer::ToolChain *m_toolChain;
 | 
			
		||||
    bool m_clearSystemEnvironment;
 | 
			
		||||
    QList<ProjectExplorer::EnvironmentItem> m_userEnvironmentChanges;
 | 
			
		||||
    QString m_buildDirectory;
 | 
			
		||||
    QString m_msvcVersion;
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user