Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
361 dpurdie 1
#-------------------------------------------------------------------------------
2
#   Documentation
3
#
4
 
5
=pod
6
 
7
=for htmltoc    FAQ::Windows::Message Compiler
8
 
9
=head1 NAME
10
 
11
How to use the Windows Message Compiler
12
 
13
=head1 SYNOPSIS
14
 
15
The following code fragment uses the windows Message Compiler to create the RC
16
file which is then inserted into a DLL.
17
 
18
    # source files
19
    Src( '*', 'mf.mc' );
20
    Src( '*', 'mf.cc' );
21
    Src( '*', 'mf.h' );
22
 
23
    # files to be generated
24
    GenerateFiles ('*', "--Tool=mc", 
25
                        "--Prerequisite(mf.mc)", 
26
                        "--CreatedCommon=mf.rc" );
27
 
28
    # headers to be installed
29
    InstallHdr( '*', 'mf.h' );
30
 
31
    # libraries to be made
32
    SharedLib ( '*', 'mf', '--Resource=mf.rc', @OBJS );
33