Product Name is the project name

This commit is contained in:
Ricardo Quesada 2013-09-19 18:12:02 -07:00
parent 2ab1b2ff04
commit 7ecb9778a3
3 changed files with 6 additions and 10 deletions

View File

@ -806,7 +806,6 @@
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"", "\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
); );
OTHER_CFLAGS = "-O2"; OTHER_CFLAGS = "-O2";
PRODUCT_NAME = "HelloCpp iOS";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = ""; USER_HEADER_SEARCH_PATHS = "";
@ -846,7 +845,6 @@
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"", "\"$(SRCROOT)/../../../cocos2dx/platform/third_party/ios/libraries\"",
"\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"", "\"$(SRCROOT)/../../../external/libwebsockets/ios/lib\"",
); );
PRODUCT_NAME = "HelloCpp iOS";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = ""; USER_HEADER_SEARCH_PATHS = "";
@ -888,7 +886,6 @@
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac/libraries\"", "\"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac/libraries\"",
"\"$(SRCROOT)/../../../external/libwebsockets/mac/lib\"", "\"$(SRCROOT)/../../../external/libwebsockets/mac/lib\"",
); );
PRODUCT_NAME = "HelloCpp Mac";
USER_HEADER_SEARCH_PATHS = ""; USER_HEADER_SEARCH_PATHS = "";
}; };
name = Debug; name = Debug;
@ -926,7 +923,6 @@
"\"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac/libraries\"", "\"$(SRCROOT)/../../../cocos2dx/platform/third_party/mac/libraries\"",
"\"$(SRCROOT)/../../../external/libwebsockets/mac/lib\"", "\"$(SRCROOT)/../../../external/libwebsockets/mac/lib\"",
); );
PRODUCT_NAME = "HelloCpp Mac";
USER_HEADER_SEARCH_PATHS = ""; USER_HEADER_SEARCH_PATHS = "";
}; };
name = Release; name = Release;
@ -941,6 +937,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx; SDKROOT = macosx;
}; };
name = Debug; name = Debug;
@ -953,6 +950,7 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx; SDKROOT = macosx;
VALIDATE_PRODUCT = YES; VALIDATE_PRODUCT = YES;
}; };

View File

@ -768,7 +768,6 @@
"-lz", "-lz",
"-ljs_static", "-ljs_static",
); );
PRODUCT_NAME = "Hello JavaScript Mac";
SDKROOT = macosx; SDKROOT = macosx;
}; };
name = Debug; name = Debug;
@ -808,7 +807,6 @@
"-lz", "-lz",
"-ljs_static", "-ljs_static",
); );
PRODUCT_NAME = "Hello JavaScript Mac";
SDKROOT = macosx; SDKROOT = macosx;
}; };
name = Release; name = Release;
@ -839,6 +837,7 @@
); );
IPHONEOS_DEPLOYMENT_TARGET = 5.1; IPHONEOS_DEPLOYMENT_TARGET = 5.1;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
}; };
name = Debug; name = Debug;
}; };
@ -864,6 +863,7 @@
); );
IPHONEOS_DEPLOYMENT_TARGET = 5.1; IPHONEOS_DEPLOYMENT_TARGET = 5.1;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PRODUCT_NAME = "$(TARGET_NAME)";
VALIDATE_PRODUCT = YES; VALIDATE_PRODUCT = YES;
}; };
name = Release; name = Release;
@ -906,7 +906,6 @@
"-lz", "-lz",
"-ljs_static", "-ljs_static",
); );
PRODUCT_NAME = "Hello JavaScript iOS";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
}; };
@ -949,7 +948,6 @@
"-lz", "-lz",
"-ljs_static", "-ljs_static",
); );
PRODUCT_NAME = "Hello JavaScript iOS";
SDKROOT = iphoneos; SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
}; };

View File

@ -8,7 +8,7 @@
PLATFORMS = { PLATFORMS = {
"cpp" : ["ios", "android", "win32", "mac", "linux"], "cpp" : ["ios", "android", "win32", "mac", "linux"],
"lua" : ["ios", "android", "win32", "mac", "linux"], "lua" : ["ios", "android", "win32", "mac", "linux"],
"javascript" : ["ios", "android", "win32"] "javascript" : ["ios", "android", "win32", "mac"]
} }