forked from qt-creator/qt-creator
		
	Nim: Adapt to recent buildconfiguration changes
Change-Id: Ib1d893f9e6d7c6c78bd4dded7a7d6434e6727a0c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
		@@ -71,12 +71,16 @@ void NimbleBuildConfiguration::initialize()
 | 
			
		||||
 | 
			
		||||
    setBuildDirectory(project()->projectDirectory());
 | 
			
		||||
 | 
			
		||||
    // Don't add a nimble build step when the package has no binaries (i.e a library package)
 | 
			
		||||
    if (!m_nimbleBuildSystem->metadata().bin.empty())
 | 
			
		||||
    {
 | 
			
		||||
    // FIXME: This is the wrong place for this decision, as it depends on
 | 
			
		||||
    // information that's typically only available after parsing which takes
 | 
			
		||||
    // the build configuration that is initialized here into account.
 | 
			
		||||
 | 
			
		||||
//    // Don't add a nimble build step when the package has no binaries (i.e a library package)
 | 
			
		||||
//    if (!m_nimbleBuildSystem->metadata().bin.empty())
 | 
			
		||||
//    {
 | 
			
		||||
        BuildStepList *buildSteps = stepList(ProjectExplorer::Constants::BUILDSTEPS_BUILD);
 | 
			
		||||
        buildSteps->appendStep(new NimbleBuildStep(buildSteps));
 | 
			
		||||
    }
 | 
			
		||||
//    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool NimbleBuildConfiguration::fromMap(const QVariantMap &map)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user