ronin.sdl¶
-
class
ronin.sdl.SDL(command=None, static=None, prefix=None, exec_prefix=None)¶ Bases:
ronin.extensions.ExtensionThe SDL library, configured using the sdl2-config tool that comes with SDL’s development distribution. Supports gcc-like executors.
Note that you may also use
Packageto use SDL. However, this tool offers some special options you might need.Parameters: - command (basestring or FunctionType) –
sdl-configcommand; defaults to the context’ssdl.config_command - static (bool) – whether to link statically; defaults to the context’s
sdl.config_static - prefix (basestring or FunctionType) – sdl-config prefix; defaults to the context’s
sdl.prefix - exec_prefix (basestring or FunctionType) – sdl-config exec-prefix; defaults to the context’s
sdl.exec_prefix
-
apply_to_executor_gcc_compile(executor)¶
-
apply_to_executor_gcc_link(executor)¶
- command (basestring or FunctionType) –
-
ronin.sdl.configure_sdl(config_command=None, static=None, prefix=None, exec_prefix=None)¶ Configures the current context’s SDL support.
Parameters: - config_command (basestring or FunctionType) – config command; defaults to “sdl2-config”
- static (bool) – whether to link statically; defaults to False
- prefix (basestring or FunctionType) – sdl-config prefix
- exec_prefix (basestring or FunctionType) – sdl-config exec-prefix