gecko-dev/xpcom/sample/macbuild
sfraser%netscape.com 220f029625 First Checked In.
1999-06-15 23:39:46 +00:00
..
ReadMe.txt First Checked In. 1999-06-15 23:39:46 +00:00
Sample.mcp First Checked In. 1999-06-15 23:39:46 +00:00
Sample.Prefix First Checked In. 1999-06-15 23:39:46 +00:00
SampleDebug.Prefix First Checked In. 1999-06-15 23:39:46 +00:00
SampleIDL.mcp First Checked In. 1999-06-15 23:39:46 +00:00

Because this sample is not part of the build system, you
have to do some things by hand. Build it like this:

1. Have a built tree.

2. Build SampleIDL.mcp, headers target. This should make an alias
   to nsISample.h in dist:xpconnect (actual location in dist
   does not matter).
   
3. Build SampleIDL.mcp, sample.xpt target. This makes sample.xpt.
   Put an alias to sample.xpt in your Components folder.
   
4. Build a target of Sample.mcp. Make an alias to the resulting
   shared lib in the components folder.
   
5. Run viewer or apprunner, and load "xpconnect-sample.html".
   Things should work.
   
sfraser@netscape.com