Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

22.5 Procedure for Building with the Makefiles

This section describes how to build your application from the command line. If you are on Windows, you can also build the sample application using the generated solution (MSVC) file, as described in Section 22.7.


Make sure that you have set up your environment as described in Chapter 2, "Setup," in the HydraExpress User Guide. On Windows, be sure you have set up your command window with the MSVC environment.

From the output, or code generation directory, simply run nmake (Windows) or make (Linux or UNIX) at the command prompt.

The project-level makefile builds any components created when the generator created the makefile. For example, invoking the generator with the -noserver option creates a makefile that does not build server components.

22.5.1 Building just a Client or Server

Top-level makefiles are generated with a target for the client or server, so you can easily build each separately if you wish. Just invoke the makefile as follows:

Windows nmake client //builds client only
nmake server //builds server only
UNIX/Linux make client
make server

22.5.2 Location of Generated Libraries and Binary Files

The generated binary and library files are placed into top-level directories depending on your platform, as follows:

<project-directory>/
    lib/ On Windows: .lib files
On UNIX/Linux: shared library (.so) files
    bin/ On Windows: .exe, .dll and .manifest files
On UNIX/Linux: executable files

For each sub-directory, object files are placed into a special obj directory. For example:



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.