parameters: (ctx, *k, **kw)
return_statement: return RunTaskGenerator(ctx, *k, **kw)
docstring: Wrapper for RC modules
docstring_summary: Wrapper for RC modules
docstring_tokens: Wrapper for RC modules
function: def CryResourceCompilerModule(ctx, *k, **kw):
      """
      Wrapper for RC modules
      """
      # Initialize the Task Generator
      if not InitializeTaskGenerator(ctx, kw):
          return
  
      # Append common modules
      AppendCommonModules(ctx,kw)
      apply_cryengine_module_defines(ctx, kw)
  
      # Setup TaskGenerator specific settings
      SetupRunTimeLibraries(ctx,kw, 'dynamic')
  
      ctx.set_rc_flags(kw, ctx)
      kw['output_sub_folder'] = 'rc'
  
      append_kw_entry(kw,'win_debug_linkflags',['/NODEFAULTLIB:libcmtd.lib', '/NODEFAULTLIB:libcd.lib'])
      append_kw_entry(kw,'win_ndebug_linkflags',['/NODEFAULTLIB:libcmt.lib', '/NODEFAULTLIB:libc.lib'])
  
      if ctx.is_mac_platform(ctx.env['PLATFORM']):
          append_kw_entry(kw,'linkflags',['-dynamiclib'])
  
      LoadSharedSettings(ctx,k,kw)        
                  
      ConfigureTaskGenerator(ctx, kw)
  
      if not BuildTaskGenerator(ctx, kw):
          return None
  
      append_kw_entry(kw,'win_linkflags',[ '/SUBSYSTEM:CONSOLE' ])
  
      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 CryResourceCompilerModule ( ctx , * k , * * kw ) : # Initialize the Task Generator if not InitializeTaskGenerator ( ctx , kw ) : return # Append common modules AppendCommonModules ( ctx , kw ) apply_cryengine_module_defines ( ctx , kw ) # Setup TaskGenerator specific settings SetupRunTimeLibraries ( ctx , kw , 'dynamic' ) ctx . set_rc_flags ( kw , ctx ) kw [ 'output_sub_folder' ] = 'rc' append_kw_entry ( kw , 'win_debug_linkflags' , [ '/NODEFAULTLIB:libcmtd.lib' , '/NODEFAULTLIB:libcd.lib' ] ) append_kw_entry ( kw , 'win_ndebug_linkflags' , [ '/NODEFAULTLIB:libcmt.lib' , '/NODEFAULTLIB:libc.lib' ] ) if ctx . is_mac_platform ( ctx . env [ 'PLATFORM' ] ) : append_kw_entry ( kw , 'linkflags' , [ '-dynamiclib' ] ) LoadSharedSettings ( ctx , k , kw ) ConfigureTaskGenerator ( ctx , kw ) if not BuildTaskGenerator ( ctx , kw ) : return None append_kw_entry ( kw , 'win_linkflags' , [ '/SUBSYSTEM:CONSOLE' ] ) 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 )