Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def build(bld):
- import os
- driver_node = bld.path.find_or_declare('Gems/ScriptCanvas/Code/Include/ScriptCanvas/')
- gem_node = bld.path.find_or_declare('GameProject/Gem/Code')
- script_canvas_dir = driver_node.path_from(gem_node)
- AZ_CODEGEN_ARGS = az_code_gen = [{
- 'files' : [
- 'Source/ScriptCanvas/MyIncrementNode.h',
- 'Source/ScriptCanvas/MyScriptCanvasNode.h'
- ],
- 'scripts' : [
- os.path.join(script_canvas_dir,
- 'CodeGen/Drivers/ScriptCanvasNode.py')
- ]
- }]
- bld.DefineGem(
- # General
- pch = 'Source/GameProject_precompiled.cpp',
- includes = [ './',
- './Include',
- './Source',
- bld.Path('Code/CryEngine/CryCommon'),
- bld.Path('Code/CryEngine/CryAction'),
- bld.Path('Gems/EMotionFX/Code/EMotionFX'),
- bld.Path('Gems/EMotionFX/Code/Source'),
- bld.Path('Gems/EMotionFX/Code/Source/Integration'),
- bld.Path('Gems/EMotionFX/Code/Source/Integration/System'),
- bld.Path('Gems/PhysX/Code/Include/PhysX'),
- bld.Path('Gems/PhysX/Code/Include'),
- bld.Path('Gems/PhysX/Code/Source')
- ],
- use = [ '.',
- 'AzCore',
- 'AzFramework',
- 'AzGameFramework',
- 'AzToolsFramework',
- 'LmbrCentral',
- 'Maestro',
- 'ScriptCanvas',
- 'EMotionFX',
- 'PHYSX_SDK',
- 'VideoPlayback'
- ],
- features = ['az_code_gen'],
- az_code_gen = AZ_CODEGEN_ARGS,
- restricted_script = 'update_restricted_parameters',
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement