From 49955a03e3558bc5b21816365a9fe04cdca4f0a5 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Fri, 20 Nov 2015 19:32:35 -0800 Subject: [PATCH] use cpp extension for pure cpp files --- RealmJS.xcodeproj/project.pbxproj | 50 ++++++++++----------------- src/{RJSObject.mm => RJSObject.cpp} | 0 src/{RJSResults.mm => RJSResults.cpp} | 0 src/{RJSSchema.mm => RJSSchema.cpp} | 0 src/{RJSUtil.mm => RJSUtil.cpp} | 0 5 files changed, 19 insertions(+), 31 deletions(-) rename src/{RJSObject.mm => RJSObject.cpp} (100%) rename src/{RJSResults.mm => RJSResults.cpp} (100%) rename src/{RJSSchema.mm => RJSSchema.cpp} (100%) rename src/{RJSUtil.mm => RJSUtil.cpp} (100%) diff --git a/RealmJS.xcodeproj/project.pbxproj b/RealmJS.xcodeproj/project.pbxproj index 2bb76a16..a601aa06 100644 --- a/RealmJS.xcodeproj/project.pbxproj +++ b/RealmJS.xcodeproj/project.pbxproj @@ -19,15 +19,15 @@ 0270BC4E1B7CFC0D00010E03 /* RJSList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC401B7CFC0D00010E03 /* RJSList.cpp */; }; 0270BC4F1B7CFC0D00010E03 /* RJSList.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC411B7CFC0D00010E03 /* RJSList.hpp */; settings = {ATTRIBUTES = (Private, ); }; }; 0270BC501B7CFC0D00010E03 /* RJSObject.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC421B7CFC0D00010E03 /* RJSObject.hpp */; settings = {ATTRIBUTES = (Private, ); }; }; - 0270BC511B7CFC0D00010E03 /* RJSObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC431B7CFC0D00010E03 /* RJSObject.mm */; }; + 0270BC511B7CFC0D00010E03 /* RJSObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC431B7CFC0D00010E03 /* RJSObject.cpp */; }; 0270BC521B7CFC0D00010E03 /* RJSRealm.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC441B7CFC0D00010E03 /* RJSRealm.hpp */; settings = {ATTRIBUTES = (Private, ); }; }; 0270BC531B7CFC0D00010E03 /* RJSRealm.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC451B7CFC0D00010E03 /* RJSRealm.mm */; }; 0270BC541B7CFC0D00010E03 /* RJSResults.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC461B7CFC0D00010E03 /* RJSResults.hpp */; settings = {ATTRIBUTES = (Private, ); }; }; - 0270BC551B7CFC0D00010E03 /* RJSResults.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC471B7CFC0D00010E03 /* RJSResults.mm */; }; + 0270BC551B7CFC0D00010E03 /* RJSResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC471B7CFC0D00010E03 /* RJSResults.cpp */; }; 0270BC561B7CFC0D00010E03 /* RJSSchema.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC481B7CFC0D00010E03 /* RJSSchema.hpp */; settings = {ATTRIBUTES = (Private, ); }; }; - 0270BC571B7CFC0D00010E03 /* RJSSchema.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC491B7CFC0D00010E03 /* RJSSchema.mm */; }; + 0270BC571B7CFC0D00010E03 /* RJSSchema.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC491B7CFC0D00010E03 /* RJSSchema.cpp */; }; 0270BC581B7CFC0D00010E03 /* RJSUtil.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC4A1B7CFC0D00010E03 /* RJSUtil.hpp */; settings = {ATTRIBUTES = (Private, ); }; }; - 0270BC591B7CFC0D00010E03 /* RJSUtil.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC4B1B7CFC0D00010E03 /* RJSUtil.mm */; }; + 0270BC591B7CFC0D00010E03 /* RJSUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC4B1B7CFC0D00010E03 /* RJSUtil.cpp */; }; 0270BC681B7CFC1C00010E03 /* object_accessor.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC5D1B7CFC1C00010E03 /* object_accessor.hpp */; }; 0270BC691B7CFC1C00010E03 /* object_schema.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0270BC5E1B7CFC1C00010E03 /* object_schema.cpp */; }; 0270BC6A1B7CFC1C00010E03 /* object_schema.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 0270BC5F1B7CFC1C00010E03 /* object_schema.hpp */; }; @@ -176,15 +176,15 @@ 0270BC401B7CFC0D00010E03 /* RJSList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RJSList.cpp; path = src/RJSList.cpp; sourceTree = ""; }; 0270BC411B7CFC0D00010E03 /* RJSList.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RJSList.hpp; path = src/RJSList.hpp; sourceTree = ""; }; 0270BC421B7CFC0D00010E03 /* RJSObject.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RJSObject.hpp; path = src/RJSObject.hpp; sourceTree = ""; }; - 0270BC431B7CFC0D00010E03 /* RJSObject.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = RJSObject.mm; path = src/RJSObject.mm; sourceTree = ""; }; + 0270BC431B7CFC0D00010E03 /* RJSObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RJSObject.cpp; path = src/RJSObject.cpp; sourceTree = ""; }; 0270BC441B7CFC0D00010E03 /* RJSRealm.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RJSRealm.hpp; path = src/RJSRealm.hpp; sourceTree = ""; }; 0270BC451B7CFC0D00010E03 /* RJSRealm.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = RJSRealm.mm; path = src/RJSRealm.mm; sourceTree = ""; }; 0270BC461B7CFC0D00010E03 /* RJSResults.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RJSResults.hpp; path = src/RJSResults.hpp; sourceTree = ""; }; - 0270BC471B7CFC0D00010E03 /* RJSResults.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = RJSResults.mm; path = src/RJSResults.mm; sourceTree = ""; }; + 0270BC471B7CFC0D00010E03 /* RJSResults.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RJSResults.cpp; path = src/RJSResults.cpp; sourceTree = ""; }; 0270BC481B7CFC0D00010E03 /* RJSSchema.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RJSSchema.hpp; path = src/RJSSchema.hpp; sourceTree = ""; }; - 0270BC491B7CFC0D00010E03 /* RJSSchema.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = RJSSchema.mm; path = src/RJSSchema.mm; sourceTree = ""; }; + 0270BC491B7CFC0D00010E03 /* RJSSchema.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RJSSchema.cpp; path = src/RJSSchema.cpp; sourceTree = ""; }; 0270BC4A1B7CFC0D00010E03 /* RJSUtil.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = RJSUtil.hpp; path = src/RJSUtil.hpp; sourceTree = ""; }; - 0270BC4B1B7CFC0D00010E03 /* RJSUtil.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = RJSUtil.mm; path = src/RJSUtil.mm; sourceTree = ""; }; + 0270BC4B1B7CFC0D00010E03 /* RJSUtil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RJSUtil.cpp; path = src/RJSUtil.cpp; sourceTree = ""; }; 0270BC5A1B7CFC1300010E03 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = src/Info.plist; sourceTree = ""; }; 0270BC5D1B7CFC1C00010E03 /* object_accessor.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = object_accessor.hpp; path = "src/object-store/object_accessor.hpp"; sourceTree = ""; }; 0270BC5E1B7CFC1C00010E03 /* object_schema.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = object_schema.cpp; path = "src/object-store/object_schema.cpp"; sourceTree = ""; }; @@ -316,15 +316,15 @@ 0270BC401B7CFC0D00010E03 /* RJSList.cpp */, 0270BC411B7CFC0D00010E03 /* RJSList.hpp */, 0270BC421B7CFC0D00010E03 /* RJSObject.hpp */, - 0270BC431B7CFC0D00010E03 /* RJSObject.mm */, + 0270BC431B7CFC0D00010E03 /* RJSObject.cpp */, 0270BC441B7CFC0D00010E03 /* RJSRealm.hpp */, 0270BC451B7CFC0D00010E03 /* RJSRealm.mm */, 0270BC461B7CFC0D00010E03 /* RJSResults.hpp */, - 0270BC471B7CFC0D00010E03 /* RJSResults.mm */, + 0270BC471B7CFC0D00010E03 /* RJSResults.cpp */, 0270BC481B7CFC0D00010E03 /* RJSSchema.hpp */, - 0270BC491B7CFC0D00010E03 /* RJSSchema.mm */, + 0270BC491B7CFC0D00010E03 /* RJSSchema.cpp */, 0270BC4A1B7CFC0D00010E03 /* RJSUtil.hpp */, - 0270BC4B1B7CFC0D00010E03 /* RJSUtil.mm */, + 0270BC4B1B7CFC0D00010E03 /* RJSUtil.cpp */, 0270BC5A1B7CFC1300010E03 /* Info.plist */, ); name = RealmJS; @@ -678,18 +678,18 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 0270BC571B7CFC0D00010E03 /* RJSSchema.mm in Sources */, + 0270BC571B7CFC0D00010E03 /* RJSSchema.cpp in Sources */, 0270BC691B7CFC1C00010E03 /* object_schema.cpp in Sources */, 02601F0D1BA0F3A7007C91FF /* schema.cpp in Sources */, 0270BC6E1B7CFC1C00010E03 /* results.cpp in Sources */, 02786E331BF1065100937061 /* parser.cpp in Sources */, - 0270BC511B7CFC0D00010E03 /* RJSObject.mm in Sources */, + 0270BC511B7CFC0D00010E03 /* RJSObject.cpp in Sources */, 0270BC4D1B7CFC0D00010E03 /* RealmJS.mm in Sources */, 02601F081BA0F0CD007C91FF /* index_set.cpp in Sources */, 029445931BDEDF40006D1617 /* transact_log_handler.cpp in Sources */, 02258FB41BC6E2D00075F13A /* RealmRPC.cpp in Sources */, - 0270BC591B7CFC0D00010E03 /* RJSUtil.mm in Sources */, - 0270BC551B7CFC0D00010E03 /* RJSResults.mm in Sources */, + 0270BC591B7CFC0D00010E03 /* RJSUtil.cpp in Sources */, + 0270BC551B7CFC0D00010E03 /* RJSResults.cpp in Sources */, 02C0864E1BCDB27000942F9C /* list.cpp in Sources */, 0270BC6B1B7CFC1C00010E03 /* object_store.cpp in Sources */, 0294465E1BF27DE6006D1617 /* query_builder.cpp in Sources */, @@ -1025,11 +1025,7 @@ 02B58CCB1AE99CEC009B348C /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - build/iOS, - ); + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", @@ -1051,11 +1047,7 @@ 02B58CCC1AE99CEC009B348C /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - build/iOS, - ); + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; HEADER_SEARCH_PATHS = ""; INFOPLIST_FILE = tests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; @@ -1162,11 +1154,7 @@ 02F9EE1E1B6BF66300C807E8 /* GCov_Build */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - build/iOS, - ); + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", "$(inherited)", diff --git a/src/RJSObject.mm b/src/RJSObject.cpp similarity index 100% rename from src/RJSObject.mm rename to src/RJSObject.cpp diff --git a/src/RJSResults.mm b/src/RJSResults.cpp similarity index 100% rename from src/RJSResults.mm rename to src/RJSResults.cpp diff --git a/src/RJSSchema.mm b/src/RJSSchema.cpp similarity index 100% rename from src/RJSSchema.mm rename to src/RJSSchema.cpp diff --git a/src/RJSUtil.mm b/src/RJSUtil.cpp similarity index 100% rename from src/RJSUtil.mm rename to src/RJSUtil.cpp