c/midl - IDL Rules

    IncludeModule c/midl ;

List of Rules

Rules


rule C.MidlCompiler PARENT : SOURCE

Compile the SOURCE .idl file into the appropriate source files. Usage of this rule is not as clean as it ought to be.

Parameters:
PARENT The parent target to set the .idl build as a dependency of. PARENT is optional if rule ActiveProject PROJECT has been specified.
SOURCE An .idl file.
Returns:
Returns the list of generated sources.
    local MIDL_SRCS = [ C.MidlCompiler LuaPlusDebuggerAddin : AddIn.idl ] ;
    Includes <LuaPlusDebuggerAddin>AddIn.cpp <LuaPlusDebuggerAddin>AddIn.rc : $(MIDL_SRCS) ;

rule C.MidlFlags PARENT : BASE_NAME [ : OPTIONS ]

Returns a list of flags to add to a Visual C++ command line.

Todo:
Document me.
    local midltargets = [ C.MidlFlags LuaPlusDebuggerControls : _LuaPlusDebuggerControls : postmidl proxy ] ;