SFL includes a Visual Studio solution for building each configuration of the library. The solution is located in the Install\SRC directory and is named Foundation<ver>.sln, where <ver> is the Microsoft Visual Studio version. The solution contains a single project with every build configuration for SFL. Complete the following procedure to build one or more configurations of the library.
Start Microsoft Visual Studio.
From the Tools menu, select Options... Then, select the Directories tab. Verify that the include directories from your Stingray products installation location appear in the list for include files. If it does not, add it now.
Open the Foundation<ver>.sln solution in the Install\SRC directory.
From the Build menu in Visual Studio, select Set Active Configuration and then choose the build configuration that suits your needs. By default, Win32 All is selected, which will build every combination of the SFL library. The Unicode configuration builds every library that support Unicode. All of the other configurations build one specific library. MFCLIB indicates that MFC will be linked statically and MFCDLL indicates that MFC will be used as a DLL. If neither MFCLIB nor MFCDLL is specified in the build configuration, it is a non-MFC configuration of the library.
From the Build menu in Visual Studio, select Build Foundation## to build the selected library. Visual Studio builds the selected libraries and copies them into the Install\LIB directory
When you build the Stingray libraries in Visual Studio, Visual Studio invokes make files that ship with the product. For information on these underlying make files, and how to build the libraries by invoking nmake on these files directly, see Section 2.3, "Building from the Command Line with nmake," in the Stingray Studio Getting Started Guide.
This section also discusses the issue of building the libraries with 1-byte structure alignment rather than the default 8-byte structure alignment.
The intermediate object files that are produced when you build the SFL libraries can appropriate significant disk space on your computer. After building the libraries, we recommend that you delete these files to reclaim the space on your hard drive.
The location for all generated object files is <StingrayInstallDir>\Src\objs\<compiler_version>\<architecture>\<product_abbrv>+<product_version>+<build_configuration_abbrv>.
For example, C:\Program Files\Rogue Wave\Stingray Studio 10.4\Src\objs\vc10\x86\sfl504asd\*.obj.
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.