Skip to content

Commit 07f06d0

Browse files
authored
VS fix (#425)
1 parent 80fcf10 commit 07f06d0

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

commandLine/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ bool isGoodOFPath(const fs::path & path) {
174174

175175

176176
void updateProject(const fs::path & path, const string & target, bool bConsiderParameterAddons = true) {
177-
//alert("updateProject " + path.string() , 34);
177+
// alert("updateProject path=" + path.string() , 34);
178178
// bConsiderParameterAddons = do we consider that the user could call update with a new set of addons
179179
// either we read the addons.make file, or we look at the parameter list.
180180
// if we are updating recursively, we *never* consider addons passed as parameters.

commandLine/src/projects/baseProject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,14 @@ bool baseProject::create(const fs::path & path, string templateName){
111111
// alert("getOFRoot() " + fs::weakly_canonical(fs::absolute(getOFRoot())).string());
112112
// alert("path " + path.string());
113113
// alert("path " + fs::weakly_canonical(fs::absolute(path)).string());
114+
114115
if (ofIsPathInPath(fs::absolute(path), getOFRoot())) {
115116
// alert ("bMakeRelative true", 35);
116117
bMakeRelative = true;
117118
} else {
118119
// alert ("bMakeRelative false", 35);
119120
}
120-
121+
121122
addons.clear();
122123
extSrcPaths.clear();
123124

@@ -146,7 +147,6 @@ bool baseProject::create(const fs::path & path, string templateName){
146147
if(!ret) return false;
147148

148149
// cout << "after return : " << templateName << endl;
149-
150150
if(!empty(templateName)){
151151
// cout << "templateName not empty " << templateName << endl;
152152
// return getOFRoot() / templatesFolder / target;

commandLine/src/projects/baseProject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#define PG_VERSION "25"
3+
#define PG_VERSION "26"
44

55
#include "ofAddon.h"
66
#include "ofFileUtils.h"

commandLine/src/utils/Utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ unique_ptr<baseProject> getTargetProject(const string & targ) {
377377
} else if (targ == "msys2") {
378378
// return unique_ptr<QtCreatorProject>(new QtCreatorProject(targ));
379379
return unique_ptr<VSCodeProject>(new VSCodeProject(targ));
380-
} else if (targ == "winvs") {
380+
} else if (targ == "vs") {
381381
return unique_ptr<visualStudioProject>(new visualStudioProject(targ));
382382
} else if (targ == "linux" ||
383383
targ == "linux64" ||

0 commit comments

Comments
 (0)