Add exporter targets

This commit is contained in:
luboslenco 2018-04-13 19:14:11 +02:00
parent 9b24d26cb8
commit 23ad7a1104
2 changed files with 7 additions and 1 deletions

View file

@ -78,7 +78,9 @@ class ArmExporterListItem(bpy.types.PropertyGroup):
('ios', 'iOS', 'ios'),
('android-native', 'Android', 'android-native'),
('node', 'Node', 'node'),
('windows-hl', 'Windows (HashLink)', 'windows-hl'),],
('windows-hl', 'Windows (HashLink)', 'windows-hl'),
('linux-hl', 'Linux (HashLink)', 'linux-hl'),
('macos-hl', 'MacOS (HashLink)', 'macos-hl'),],
name="Target", default='html5', description='Build platform')
arm_gapi_win = EnumProperty(

View file

@ -555,8 +555,12 @@ def target_to_gapi(arm_project_target):
return 'arm_gapi_win'
elif arm_project_target == 'krom-linux':
return 'arm_gapi_linux'
elif arm_project_target == 'linux-hl':
return 'arm_gapi_linux'
elif arm_project_target == 'krom-macos':
return 'arm_gapi_mac'
elif arm_project_target == 'macos-hl':
return 'arm_gapi_mac'
elif arm_project_target == 'macos':
return 'arm_gapi_mac'
elif arm_project_target == 'windows':