Changeset 843
- Timestamp:
- 08/19/08 13:04:40 (3 months ago)
- Files:
-
- 1 modified
-
mcbuilder/trunk/src/Builder.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mcbuilder/trunk/src/Builder.cpp
r841 r843 48 48 { 49 49 currentProjectPath = projectName; 50 QDir dir( currentProjectPath);50 QDir dir(projectName); 51 51 setWorkingDirectory(dir.filePath("build")); 52 loadDependencies(LIBRARIES_DIR, currentProjectPath); // this loads up the list of libraries this project depends on53 if(compareConfigFile( currentProjectPath))54 createConfigFile( currentProjectPath); // create a config file based on the Properties for this project55 createMakefile( currentProjectPath); // create a Makefile for this project, given the dependencies52 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 56 56 buildStep = BUILD; 57 57 currentProcess = "make"; … … 75 75 QDir buildDir(ensureBuildDirExists(projectName)); 76 76 setWorkingDirectory(buildDir.path()); 77 loadDependencies(LIBRARIES_DIR, currentProjectPath);77 loadDependencies(LIBRARIES_DIR, projectName); 78 78 if(compareConfigFile(projectName)) 79 79 createConfigFile(projectName); // create a config file based on the Properties for this project 80 createMakefile( currentProjectPath);80 createMakefile(projectName); 81 81 buildStep = CLEAN; 82 82 QStringList args = QStringList() << "clean";
