Skip to content

Commit 7ae3e5f

Browse files
committed
update zed, xcode project
1 parent a030cb0 commit 7ae3e5f

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

commandLine/commandLine.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/* Begin PBXBuildFile section */
1010
03433CF32BF3B842001412CF /* android2024.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03433CF22BF3B842001412CF /* android2024.cpp */; };
1111
03B57CDD2AC5B1C6005F56E0 /* VSCodeProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03B57CDB2AC5B1C6005F56E0 /* VSCodeProject.cpp */; };
12+
03CED5022D2C344F00075C8E /* zedProject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 03CED5012D2C344F00075C8E /* zedProject.cpp */; };
1213
"1A7D4C46-3FD3-4E35-9025-D0E93ECAD7DD" /* qtcreatorproject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = "C5A3016A-B663-4FE7-B6E6-421C5F168447" /* qtcreatorproject.cpp */; };
1314
"200CCA92-FAEE-4CEB-903B-ABB0D56B991F" /* ofAddon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = "41F34CBC-2E3E-4C3D-B106-F9D6746B6FF0" /* ofAddon.cpp */; };
1415
"2BC33EEF-CBDE-4E2E-9E0C-DB9AA6E0FE66" /* uuidxx.cpp in Sources */ = {isa = PBXBuildFile; fileRef = "4CB92F80-3CD1-41B1-BD98-26F35C9C7A6E" /* uuidxx.cpp */; };
@@ -54,6 +55,8 @@
5455
03433CF22BF3B842001412CF /* android2024.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = android2024.cpp; sourceTree = "<group>"; };
5556
03B57CDB2AC5B1C6005F56E0 /* VSCodeProject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VSCodeProject.cpp; sourceTree = "<group>"; };
5657
03B57CDC2AC5B1C6005F56E0 /* VSCodeProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VSCodeProject.h; sourceTree = "<group>"; };
58+
03CED5002D2C344F00075C8E /* zedProject.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = zedProject.h; sourceTree = "<group>"; };
59+
03CED5012D2C344F00075C8E /* zedProject.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = zedProject.cpp; sourceTree = "<group>"; };
5760
"0C9DC8B7-7304-4A82-BAED-18F7A422ECA1" /* xcodeProject.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 4; name = xcodeProject.h; path = src/projects/xcodeProject.h; sourceTree = SOURCE_ROOT; };
5861
191CD6FA2847E21E0085CBB6 /* of.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = of.entitlements; sourceTree = "<group>"; };
5962
191EF70929D778A400F35F26 /* openFrameworks */ = {isa = PBXFileReference; lastKnownFileType = folder; name = openFrameworks; path = ../../../libs/openFrameworks; sourceTree = SOURCE_ROOT; };
@@ -159,6 +162,8 @@
159162
03B57CDC2AC5B1C6005F56E0 /* VSCodeProject.h */,
160163
"4CC7F503-61FC-435C-BA93-F9C1E6D46ABE" /* xcodeProject.cpp */,
161164
"0C9DC8B7-7304-4A82-BAED-18F7A422ECA1" /* xcodeProject.h */,
165+
03CED5002D2C344F00075C8E /* zedProject.h */,
166+
03CED5012D2C344F00075C8E /* zedProject.cpp */,
162167
);
163168
name = projects;
164169
path = src/projects;
@@ -355,6 +360,7 @@
355360
"7F2BBCD1-F22D-454A-9100-33D1C12BEA70" /* androidStudioProject.cpp in Sources */,
356361
"E79B31E1-CF27-4D77-B2F2-6AEC329A9F50" /* baseProject.cpp in Sources */,
357362
"1A7D4C46-3FD3-4E35-9025-D0E93ECAD7DD" /* qtcreatorproject.cpp in Sources */,
363+
03CED5022D2C344F00075C8E /* zedProject.cpp in Sources */,
358364
03433CF32BF3B842001412CF /* android2024.cpp in Sources */,
359365
"C2428661-BDEC-41D7-8150-C9BA5EE86C0C" /* visualStudioProject.cpp in Sources */,
360366
"DBD7E2AC-672A-4FD9-B0A4-DF24111D17FB" /* xcodeProject.cpp in Sources */,

commandLine/compile_flags.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ objective-c++
4646
-I./src/addons
4747
-I./src/projects
4848
-I./src/utils
49-
-I./src/uuidxx
49+
-I./src/uuidxx/src
5050
-I../../../addons/ofxMicroUI/src
5151
-I../../../addons/ofxTools/src
5252
-I../../../addons/ofxTools/src/feature

commandLine/src/projects/baseProject.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ bool baseProject::copyTemplateFile::run() {
802802
ofLogVerbose() << "copyTemplateFile from: " << from << " to: " << to;
803803
// alert("base::copyTemplateFile from: " + from.string() + " to: " + to.string(), 33);
804804

805-
if (findReplaces.size()) {
805+
if (findReplaces.size() || appends.size()) {
806806
// Load file, replace contents, write to destination.
807807

808808
std::ifstream fileFrom(from);
@@ -819,6 +819,7 @@ bool baseProject::copyTemplateFile::run() {
819819
}
820820

821821
for (auto & a : appends) {
822+
// alert(a, 35);
822823
contents += "\n" + a;
823824
}
824825

commandLine/src/projects/zedProject.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ bool zedProject::saveProjectFile(){
5656
}
5757

5858
void zedProject::addAddonBegin(const ofAddon& addon) {
59-
alert("zedProject::addAddon() " + addon.name, 35);
60-
std::string inc { "-I" + ofPathToString(addon.addonPath) };
61-
copyTemplateFiles[0].appends.emplace_back(inc);
59+
// alert("zedProject::addAddon() " + addon.name, 35);
60+
// std::string inc { "-I" + ofPathToString(addon.addonPath) };
61+
// copyTemplateFiles[0].appends.emplace_back(inc);
6262
}
6363

6464

@@ -67,7 +67,7 @@ void zedProject::addSrc(const fs::path & srcName, const fs::path & folder, SrcTy
6767
}
6868

6969
void zedProject::addInclude(const fs::path & includeName){
70-
alert ("addInclude " + ofPathToString(includeName), 34);
70+
// alert ("addInclude " + ofPathToString(includeName), 34);
7171
std::string inc { "-I" + ofPathToString(includeName) };
7272
copyTemplateFiles[0].appends.emplace_back(inc);
7373
// cppProperties.addToArray("/env/PROJECT_EXTRA_INCLUDES", includeName);

0 commit comments

Comments
 (0)