forked from proletariatgames/unreal.hx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnrealHx.uplugin
36 lines (36 loc) · 1.97 KB
/
UnrealHx.uplugin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"FileVersion" : 3,
"FriendlyName" : "Unreal.hx - UE4 Haxe Integration",
"Version" : 1,
"VersionName": "alpha",
"FriendlyVersion" : "1.0",
"Description" : "Write UE4 game logic in Haxe.",
"Category" : "Scripting",
"CreatedBy" : "Proletariat Inc.",
"CreatedByURL" : "http://proletariat.com",
"EnabledByDefault" : true,
"IsBetaVersion" : true,
"Modules" :
[
],
"PreBuildSteps": {
"Win64": [
"SET ProjectDir=$(ProjectDir)",
"SET PluginDir=$(PluginDir)",
"IF EXIST \"$(ProjectDir)\"\\uhxenv.bat CALL \"$(ProjectDir)\"\\uhxenv.bat",
"haxe --cwd \"$(PluginDir)/Haxe/BuildTool\" compile-project.hxml -D \"EngineDir=$(EngineDir)\" -D \"ProjectDir=$(ProjectDir)\" -D \"TargetName=$(TargetName)\" -D \"TargetPlatform=$(TargetPlatform)\" -D \"TargetConfiguration=$(TargetConfiguration)\" -D \"TargetType=$(TargetType)\" -D \"ProjectFile=$(ProjectFile)\" -D \"PluginDir=$(PluginDir)\" -D UE_PRE_BUILD"
],
"Linux": [
"export ProjectDir=\"$(ProjectDir)\"",
"export PluginDir=\"$(PluginDir)\"",
"[ -f \"$(ProjectDir)\"/uhxenv.sh ] && source \"$(ProjectDir)\"/uhxenv.sh",
"haxe --cwd \"$(PluginDir)/Haxe/BuildTool\" compile-project.hxml -D \"EngineDir=$(EngineDir)\" -D \"ProjectDir=$(ProjectDir)\" -D \"TargetName=$(TargetName)\" -D \"TargetPlatform=$(TargetPlatform)\" -D \"TargetConfiguration=$(TargetConfiguration)\" -D \"TargetType=$(TargetType)\" -D \"ProjectFile=$(ProjectFile)\" -D \"PluginDir=$(PluginDir)\" -D UE_PRE_BUILD"
],
"Mac": [
"export ProjectDir=\"$(ProjectDir)\"",
"export PluginDir=\"$(PluginDir)\"",
"[ -f \"$(ProjectDir)\"/uhxenv.sh ] && source \"$(ProjectDir)\"/uhxenv.sh",
"haxe --cwd \"$(PluginDir)/Haxe/BuildTool\" compile-project.hxml -D \"EngineDir=$(EngineDir)\" -D \"ProjectDir=$(ProjectDir)\" -D \"TargetName=$(TargetName)\" -D \"TargetPlatform=$(TargetPlatform)\" -D \"TargetConfiguration=$(TargetConfiguration)\" -D \"TargetType=$(TargetType)\" -D \"ProjectFile=$(ProjectFile)\" -D \"PluginDir=$(PluginDir)\" -D UE_PRE_BUILD"
]
}
}