[build] use CMake to generate Xcode schemes

This commit is contained in:
Konstantin Käfer
2017-07-04 14:19:25 +02:00
parent adbce36fe6
commit fc48ca1801
17 changed files with 237 additions and 129 deletions

View File

@@ -53,3 +53,37 @@ add_custom_command(
mbgl_platform_node()
create_source_groups(mbgl-node)
xcode_create_scheme(
TARGET mbgl-node
)
xcode_create_scheme(
TARGET mbgl-node
TYPE node
NAME "node tests"
ARGS
"`npm bin tape`/tape platform/node/test/js/**/*.test.js"
)
xcode_create_scheme(
TARGET mbgl-node
TYPE node
NAME "node render tests"
ARGS
"platform/node/test/render.test.js"
OPTIONAL_ARGS
"group"
"test"
)
xcode_create_scheme(
TARGET mbgl-node
TYPE node
NAME "node query tests"
ARGS
"platform/node/test/query.test.js"
OPTIONAL_ARGS
"group"
"test"
)