mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-01 14:46:17 +00:00
Merge branch 'master' into desktop
This commit is contained in:
@@ -37,7 +37,8 @@ with (window)
|
||||
"OBJJ_PREPROCESSOR_DEBUG_SYMBOLS",
|
||||
"objj_data",
|
||||
"CPPropertyListCreateData", "CPPropertyListCreateFromData",
|
||||
"kCFPropertyListXMLFormat_v1_0", "kCFPropertyList280NorthFormat_v1_0"
|
||||
"kCFPropertyListXMLFormat_v1_0", "kCFPropertyList280NorthFormat_v1_0",
|
||||
"objj_dictionary"
|
||||
].forEach(function(v) {
|
||||
exports[v] = eval(v);
|
||||
});
|
||||
|
||||
@@ -45,7 +45,9 @@ exports.preprocess = function(inFile, outFile, flags, gccArgs)
|
||||
shouldCheckSyntax = flags & OBJJ_PREPROCESSOR_SYNTAX,
|
||||
shouldCompress = flags & OBJJ_PREPROCESSOR_COMPRESS;
|
||||
|
||||
var gccCommand = "gcc -E -x c -P " + (gccArgs.join(" ") || "") + " " + inFile;
|
||||
gccArgs = gccArgs ? gccArgs.join(" ") : "";
|
||||
|
||||
var gccCommand = "gcc -E -x c -P " + gccArgs + " " + inFile;
|
||||
|
||||
if (!shouldObjjPreprocess)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user