Skip to content

Commit

Permalink
add default target, arch and hxcpp_defines nodes to config
Browse files Browse the repository at this point in the history
  • Loading branch information
ruby0x1 committed Oct 23, 2016
1 parent 3d36e3e commit e810427
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions src/flow/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,47 @@
"config" : "1.0.0-alpha-1",
"build" : {

"known_targets" : ["mac","windows","linux","ios","android","web"],

"invalid_targets" : {
"windows" : ["linux","mac","ios"],
"mac" : ["linux","windows"],
"linux" : ["windows","mac","ios"]
},

"target": {
"web" : "js",
"mac" : "cpp",
"windows" : "cpp",
"linux" : "cpp",
"android" : "cpp",
"ios" : "cpp",
"tvos" : "cpp"
},

"arch": {
"web" : "web",
"android" : "armv7",
"ios" : "armv7",
"tvos" : "arm64"
},

"hxcpp_defines" : {
"arch": {
"32" : ["HXCPP_M32"],
"64" : ["HXCPP_M64"],
"x86" : ["HXCPP_X86"],
"arm64" : ["HXCPP_ARM64", "HXCPP_M64"],
"armv6" : ["HXCPP_ARMV6"],
"armv7" : ["HXCPP_ARMV7"],
"armv7s" : ["HXCPP_ARMV7S"],
"sim64" : ["simulator", "HXCPP_M64"],
"sim" : ["simulator"]
},
"target" : {
"ios": ["HXCPP_CPP11", "HXCPP_CLANG"],
"tvos": ["HXCPP_CPP11", "HXCPP_CLANG"]
}
},

"timing" : false,
"boot" : "FlowApp",
"command_line" : false,
Expand Down

0 comments on commit e810427

Please sign in to comment.