0fa94a9690
-=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
Import('env')
|
|
|
|
|
|
common_flash=[\
|
|
"godot_flash.cpp",
|
|
"os_flash.cpp",
|
|
"rasterizer_flash.cpp",
|
|
#"dir_access_flash.cpp",
|
|
]
|
|
|
|
|
|
abc = env.Command('#platform/flash/Console.abc', '#platform/flash/Console.as',
|
|
"""
|
|
java -jar $ALCHEMY/usr/lib/asc2.jar -md -strict -optimize -AS3 \
|
|
-import $ALCHEMY/usr/lib/builtin.abc \
|
|
-import $ALCHEMY/usr/lib/playerglobal.abc \
|
|
-import $ALCHEMY/usr/lib/CModule.abc \
|
|
-import $ALCHEMY/usr/lib/ISpecialFile.abc \
|
|
-import platform/flash/lib/libGL.abc \
|
|
platform/flash/Console.as
|
|
""")
|
|
|
|
exe = env.Program('#bin/godot',common_flash, PROGSUFFIX=env['PROGSUFFIX']+".exe")
|
|
swf = env.Program('#bin/godot',common_flash, PROGSUFFIX=env['PROGSUFFIX']+".swf", LINKFLAGS=env['LINKFLAGS']+['-emit-swf'])
|
|
|
|
env.Depends(exe, abc)
|
|
env.Depends(swf, abc)
|
|
|
|
|
|
"""
|
|
java -jar $ALCHEMY/usr/lib/asc2.jar -md -strict -optimize -AS3 \
|
|
-import $ALCHEMY/usr/lib/builtin.abc \
|
|
-import $ALCHEMY/usr/lib/playerglobal.abc \
|
|
-import $ALCHEMY/usr/lib/CModule.abc \
|
|
-import $ALCHEMY/usr/lib/ISpecialFile.abc \
|
|
-import ../platform/flash/lib/libGL.abc \
|
|
../platform/flash/Console.as
|
|
"""
|
|
|
|
|