Advertisement
Guest User

Untitled

a guest
Dec 26th, 2020
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1.  
  2. def build(bld):
  3. import os
  4. driver_node = bld.path.find_or_declare('Gems/ScriptCanvas/Code/Include/ScriptCanvas/')
  5. gem_node = bld.path.find_or_declare('GameProject/Gem/Code')
  6. script_canvas_dir = driver_node.path_from(gem_node)
  7.  
  8. AZ_CODEGEN_ARGS = az_code_gen = [{
  9. 'files' : [
  10. 'Source/ScriptCanvas/MyIncrementNode.h',
  11. 'Source/ScriptCanvas/MyScriptCanvasNode.h'
  12. ],
  13. 'scripts' : [
  14. os.path.join(script_canvas_dir,
  15. 'CodeGen/Drivers/ScriptCanvasNode.py')
  16. ]
  17. }]
  18.  
  19. bld.DefineGem(
  20. # General
  21. pch = 'Source/GameProject_precompiled.cpp',
  22. includes = [ './',
  23. './Include',
  24. './Source',
  25. bld.Path('Code/CryEngine/CryCommon'),
  26. bld.Path('Code/CryEngine/CryAction'),
  27. bld.Path('Gems/EMotionFX/Code/EMotionFX'),
  28. bld.Path('Gems/EMotionFX/Code/Source'),
  29. bld.Path('Gems/EMotionFX/Code/Source/Integration'),
  30. bld.Path('Gems/EMotionFX/Code/Source/Integration/System'),
  31. bld.Path('Gems/PhysX/Code/Include/PhysX'),
  32. bld.Path('Gems/PhysX/Code/Include'),
  33. bld.Path('Gems/PhysX/Code/Source')
  34. ],
  35. use = [ '.',
  36. 'AzCore',
  37. 'AzFramework',
  38. 'AzGameFramework',
  39. 'AzToolsFramework',
  40. 'LmbrCentral',
  41. 'Maestro',
  42. 'ScriptCanvas',
  43. 'EMotionFX',
  44. 'PHYSX_SDK',
  45. 'VideoPlayback'
  46. ],
  47. features = ['az_code_gen'],
  48. az_code_gen = AZ_CODEGEN_ARGS,
  49.  
  50. restricted_script = 'update_restricted_parameters',
  51. )
  52.  
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement