diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-10 03:47:20 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-10 03:47:20 +0000 |
commit | 149d36919abaeb6c66fc18a2f6f6e02b6e40134e (patch) | |
tree | d60dd40d1ed4f2afce2f4b3bec82eaadd38c7868 /TAO/TAO-INSTALL.html | |
parent | 2f21b5ade95e652743bc17daf6f73aebad591d1d (diff) | |
download | ATCD-149d36919abaeb6c66fc18a2f6f6e02b6e40134e.tar.gz |
Updated to reflect new changes with the static libraries.
Diffstat (limited to 'TAO/TAO-INSTALL.html')
-rw-r--r-- | TAO/TAO-INSTALL.html | 45 |
1 files changed, 16 insertions, 29 deletions
diff --git a/TAO/TAO-INSTALL.html b/TAO/TAO-INSTALL.html index f4757de7470..c225da9869d 100644 --- a/TAO/TAO-INSTALL.html +++ b/TAO/TAO-INSTALL.html @@ -137,34 +137,20 @@ C/C++ settings under Input.</P> <H4>Creating Static Libraries (*.lib)</H4> -<P>Following is an example on how to create a project for a static library for TAO. -Other projects (such as orbsvcs) should be just as easy to create static libraries -for. Just create a new project and copy the files and some of the settings from the -DLL project. </P> - -<OL> - <LI>Switch to FileView for the TAO.dsw Workspace - <LI>Add a new project to the workspace (right-click on workspace name)<BR> - <UL> - <LI><B>Project type:</B> <CODE>Win32 Static Library</CODE> - <LI><B>Project name:</B> <CODE>TAO_Static</CODE> - <LI><B>Project directory:</B> <CODE>ACE_wrapper\TAO\tao</CODE> (make sure to change - this after the project name, since changing the project name affects this) - <LI><B>Select</B> "Add to Current Workspace" - </UL> - <LI>Copy all folders (Source Files, Header Files...) to TAO_Static - <LI>Edit Project Settings<BR> - <UL> - <LI><B>C/C++ | General:</B> Add the Preprocessor Definitions - <CODE>TAO_HAS_DLL=0</CODE> and <CODE>__ACE_INLINE__=0</CODE> - <LI><B>C/C++ | Code Generation:</B> Change Run-time library to <CODE>Debug - Multithreaded</CODE> (or <CODE>Multithreaded</CODE> for Release) - <LI><B>C/C++ | Preprocessor:</B> Add <CODE>..\..\,..\</CODE> to the - additional include directories - <LI><B>Library:</B> Change the name to TAOs.lib and TAOsd.lib (for - consistency with the ACE library) - </UL> -</OL> +<P>TAO, orbsvcs, TAO_IDL, and the Simple Test all have extra project files +for static library builds. TAOACE_static.dsw contains all these projects, +and is set up much like <A HREF="#taoace">TAOACE.dsw</A>. To use the static +libraries in a project, make sure to the following settings are used in +the Project Settings.</P> + +<UL> + <LI><B>C/C++ | General:</B> Add the Preprocessor Definitions + <CODE>TAO_HAS_DLL=0</CODE>, <CODE>ACE_HAS_DLL=0</CODE> and + <CODE>__ACE_INLINE__=0</CODE> + <LI><B>C/C++ | Code Generation:</B> Change Run-time library to <CODE>Debug + Multithreaded</CODE> (or <CODE>Multithreaded</CODE> for Release) + <LI><B>Link:</B> Link with the static libs, such as TAOs.lib or TAOsd.lib +</UL> <HR> <H3> @@ -185,7 +171,8 @@ adding an IDL file named foobar.idl into a VC project. <LI>Now open the project setting window (Project -> Setting... or just press Alt-F7.) Select the IDL files in both client and server projects. Choose to set the setting for "All Configuration." Make sure the - "Exclude from build" under the "General" tab is unchecked.</LI> + "Always use custom build step" is checked and "Exclude from build" is + unchecked.</LI> <LI>Click on the "Custom Build" tab. Add this entry as the build command for IDL files:<BR><BR> |