STP API C++ Library

This directory contains the STP C++ Host Library. Due to the nature of C++, this
API is distributed as source code. Build methods for both Unix and Windows 
libraries are provided. Also included is the Google Protocol Buffers package 
that the STP Host Library is dependent upon. To minimize library size, the C++
host library uses the protobuf-lite library.

To use the STP C++ Host Library, users will have to build and link libraries for
both Google Protocol Buffers and STP API.

Building Protocol Buffers
=========================
For more information on Google Protocol Buffers, please visit: 
https://developers.google.com/protocol-buffers/

Windows
-------
For complete details, please see protobuf/vsprojects/readme.txt

1) Open protobuf/vsprojects/protobuf.sln in Microsoft Visual Studio.
2) Choose "Debug" or "Release" configuration as desired.
3) From the Build menu, choose "Build Solution".  Wait for compiling to finish.
4) From a command shell, run tests.exe and lite-test.exe and check that all
   tests pass.
5) Run extract_includes.bat to copy all the public headers into a separate
   "include" directory (under the top-level package directory).
6) Copy the contents of the include directory to wherever you want to put
   headers.
7) Copy libprotobuf-lite.lib wherever you put libraries.

Note: If compiling for Windows CE, you will need to create a new project for 
      your target and copy all of the source files from the protobuf-lite 
      project to the new CE project.

Unix
----
For complete details, please see protobuf-*/README.txt.

1) cpp/protobuf$ ./configure
2) cpp/protobuf$ make
3) cpp/protobuf$ make check
4) cpp/protobuf$ make install

Building STP C++ Host Library
=============================

Windows
-------
1) Open StpCpp.sln in Microsoft Visual Studio.
2) Choose "Debug" or "Release" configuration as desired.
3) From the build menu, choose "Build Solution." Wait for compiling to finish.
4) Copy stpapi.lib to wherever you put libraries.

Note: If compiling for Windows CE, you will need to create a new project for 
      your target and copy the source files to the new CE project.

Unix
----
1) cpp$ make
2) libstpapi.a will be in cpp/lib directory.

