Changeset 843

Show
Ignore:
Timestamp:
08/19/08 13:04:40 (3 months ago)
Author:
liamstask
Message:

- make sure clean is looking in the right spot...doh

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • mcbuilder/trunk/src/Builder.cpp

    r841 r843  
    4848{ 
    4949  currentProjectPath = projectName; 
    50   QDir dir(currentProjectPath); 
     50  QDir dir(projectName); 
    5151  setWorkingDirectory(dir.filePath("build")); 
    52   loadDependencies(LIBRARIES_DIR, currentProjectPath);      // this loads up the list of libraries this project depends on 
    53   if(compareConfigFile(currentProjectPath)) 
    54     createConfigFile(currentProjectPath);      // create a config file based on the Properties for this project 
    55   createMakefile(currentProjectPath);        // create a Makefile for this project, given the dependencies 
     52  loadDependencies(LIBRARIES_DIR, projectName);      // this loads up the list of libraries this project depends on 
     53  if(compareConfigFile(projectName)) 
     54    createConfigFile(projectName);      // create a config file based on the Properties for this project 
     55  createMakefile(projectName);        // create a Makefile for this project, given the dependencies 
    5656  buildStep = BUILD; 
    5757  currentProcess = "make"; 
     
    7575  QDir buildDir(ensureBuildDirExists(projectName)); 
    7676  setWorkingDirectory(buildDir.path()); 
    77   loadDependencies(LIBRARIES_DIR, currentProjectPath); 
     77  loadDependencies(LIBRARIES_DIR, projectName); 
    7878  if(compareConfigFile(projectName)) 
    7979    createConfigFile(projectName);      // create a config file based on the Properties for this project 
    80   createMakefile(currentProjectPath); 
     80  createMakefile(projectName); 
    8181  buildStep = CLEAN; 
    8282  QStringList args = QStringList() << "clean";