parameters: (ctx, *k, **kw)
return_statement: return RunTaskGenerator(ctx, *k, **kw)
docstring: Wrapper for CryEngine Editor Plugins Util dlls, those used by multiple plugins
docstring_summary: Wrapper for CryEngine Editor Plugins Util dlls, those used by multiple plugins
docstring_tokens: Wrapper for CryEngine Editor Plugins Util dlls those used by multiple plugins
function: def CryPluginModule(ctx, *k, **kw):
      """
      Wrapper for CryEngine Editor Plugins Util dlls, those used by multiple plugins
      """
      # Initialize the Task Generator
      InitializeTaskGenerator(ctx, kw)
  
      # Append common modules
      AppendCommonModules(ctx,kw)
  
      apply_cryengine_module_defines(ctx, kw)
  
      # Setup TaskGenerator specific settings
      ctx.set_editor_flags(kw)
  
      SetupRunTimeLibraries(ctx,kw)
  
      append_kw_entry(kw,'msvc_cxxflags',['/EHsc'])
      append_kw_entry(kw,'msvc_cflags',['/EHsc'])
      append_kw_entry(kw,'defines',[ 'PLUGIN_EXPORTS', 'EDITOR_COMMON_EXPORTS' ])
      if not 'output_sub_folder' in kw:
          kw['output_sub_folder'] = 'EditorPlugins'
  
      kw['features'] += ['qt5']#added QT to all plugins
  
      LoadSharedSettings(ctx,k,kw)
  
      ConfigureTaskGenerator(ctx, kw)
  
      if not BuildTaskGenerator(ctx, kw):
          return None
  
      kw['remove_release_define'] = [ True ]
  
      if ctx.env['PLATFORM'] == 'darwin_x64':
          append_kw_entry(kw,'linkflags',['-install_name', '@rpath/lib'+kw['output_file_name']+'.dylib'])
  
      return RunTaskGenerator(ctx, *k, **kw)
function_tokens: def CryPluginModule ( ctx , * k , * * kw ) : # Initialize the Task Generator InitializeTaskGenerator ( ctx , kw ) # Append common modules AppendCommonModules ( ctx , kw ) apply_cryengine_module_defines ( ctx , kw ) # Setup TaskGenerator specific settings ctx . set_editor_flags ( kw ) SetupRunTimeLibraries ( ctx , kw ) append_kw_entry ( kw , 'msvc_cxxflags' , [ '/EHsc' ] ) append_kw_entry ( kw , 'msvc_cflags' , [ '/EHsc' ] ) append_kw_entry ( kw , 'defines' , [ 'PLUGIN_EXPORTS' , 'EDITOR_COMMON_EXPORTS' ] ) if not 'output_sub_folder' in kw : kw [ 'output_sub_folder' ] = 'EditorPlugins' kw [ 'features' ] += [ 'qt5' ] #added QT to all plugins LoadSharedSettings ( ctx , k , kw ) ConfigureTaskGenerator ( ctx , kw ) if not BuildTaskGenerator ( ctx , kw ) : return None kw [ 'remove_release_define' ] = [ True ] if ctx . env [ 'PLATFORM' ] == 'darwin_x64' : append_kw_entry ( kw , 'linkflags' , [ '-install_name' , '@rpath/lib' + kw [ 'output_file_name' ] + '.dylib' ] ) return RunTaskGenerator ( ctx , * k , * * kw )