Embedthis Appweb 3.0A.0
Home

Quick Nav

Overview
Appweb Configurations
Building

See Also

New Features
Release Notes
Installing on Linux
Installing on Windows
Porting Guide

Building the Appweb Samples

This document contains a description of the build process to build the Appweb samples or to rebuild Appweb from source. For the product release notes and a detailed description of the installation procedure, please consult the Release Notes supplied with this release.

Overview

The appweb binary distribution contains all the necessary source files, headers and tools to build the samples. These samples are installed by default at <InstallDir>/samples and at /usr/share/appweb-VERSION for Linux. 

Each sample is a stand-alone directory that may be relocated or copied to any directory. For Linux a pre-supplied Makefile will be used to build the sample. For Windows, a Visual Studio project is supplied.

Appweb Configurations 

The samples can only use features that have been built into the installed version of Appweb. If you have recompiled Appweb from source and have tailored the selected features, some of the samples may not run.

Building

Building on Windows

Appweb includes several project workspace files for building the samples.
Workspace File Description
C++/c++Samples.dsw Builds all files necessary for the appweb program. Includes building all loadable modules.
C/cSamples.dsw Builds the HTTP client.

To build using Visual Studio 6 open the workspace files with a "dsw" extension. To build using Visual Studio.NET, open the workspace files and upgrade them to Visual Studio.NET solution files.

Building on Linux

You can build the samples by typing: make. You can clean the directory by typing make clean.

© Embedthis Software LLC, 2003-2009. All rights reserved. Embedthis, Ejscript and Appweb are trademarks of Embedthis Software LLC.