Subversion Repositories DevTools

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#-------------------------------------------------------------------------------
#   Documentation
#

=pod

=for htmltoc    FAQ::Windows::Message Compiler

=head1 NAME

How to use the Windows Message Compiler

=head1 SYNOPSIS

The following code fragment uses the windows Message Compiler to create the RC
file which is then inserted into a DLL.

    # source files
    Src( '*', 'mf.mc' );
    Src( '*', 'mf.cc' );
    Src( '*', 'mf.h' );

    # files to be generated
    GenerateFiles ('*', "--Tool=mc", 
                        "--Prerequisite(mf.mc)", 
                        "--CreatedCommon=mf.rc" );

    # headers to be installed
    InstallHdr( '*', 'mf.h' );

    # libraries to be made
    SharedLib ( '*', 'mf', '--Resource=mf.rc', @OBJS );