Skip to content

Commit 4985bdb

Browse files
authored
Update baseProject.cpp
1 parent 58aedc0 commit 4985bdb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

commandLine/src/projects/baseProject.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,17 @@ bool baseProject::create(const fs::path & path, string templateName){
151151
bool bDoesDirExist = false;
152152

153153
fs::path project { projectDir / "src" };
154+
fs::path projectAltPath { projectPath / "src" };
155+
156+
ofLogNotice() << "DEBUG 1 - src folder path is " << project;
157+
ofLogNotice() << "DEBUG 2 - src folder path should be? " << projectAltPath;
158+
154159
if (fs::exists(project) && fs::is_directory(project)) {
155160
bDoesDirExist = true;
156161
} else {
162+
ofLogNotice() << "DEBUG 3 - src folder path does not exist " << project;
163+
ofLogNotice() << "DEBUG 4 - does projectAltPath path exist? " << fs::exists(projectAltPath);
164+
157165
for (auto & p : { string("src") , string("bin") }) {
158166
fs::copy (templatePath / p, projectDir / p, fs::copy_options::recursive);
159167
}

0 commit comments

Comments
 (0)