Move cflags and ldflags for mac to debug config

This commit is contained in:
Dan Schultzer 2016-09-22 13:17:46 -07:00
parent 32bb2d089b
commit da7e707a0c

View File

@ -60,20 +60,17 @@
[ # cflags on OS X are stupid and have to be defined like this
"OS==\"mac\"", {
"xcode_settings": {
"OTHER_CFLAGS": [
"-mmacosx-version-min=10.7",
" -fprofile-arcs -ftest-coverage ",
"-std=c++11",
"-stdlib=libc++",
"<!@(node utils/find-opencv.js --cflags)",
],
"OTHER_LDFLAGS": [
"--coverage"
],
"GCC_ENABLE_CPP_RTTI": "YES",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
"OTHER_CFLAGS": [
"-mmacosx-version-min=10.7",
"-std=c++11",
"-stdlib=libc++",
"<!@(node utils/find-opencv.js --cflags)",
],
"GCC_ENABLE_CPP_RTTI": "YES",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
}
}
}]
]
],
"configurations": {
@ -83,7 +80,18 @@
['OS=="linux"', {
"cflags": ["-coverage"],
"ldflags": ["-coverage"]
}],
['OS=="mac"', {
"xcode_settings": {
"OTHER_CFLAGS": [
"-fprofile-arcs -ftest-coverage",
],
"OTHER_LDFLAGS": [
"--coverage"
]
}
}]
]
},
}