[go: up one dir, main page]

Menu

Tree [9dfb25] 0.1.4 / template /
 History

HTTPS access


File Date Author Commit
 CMakeLists.txt 2017-05-28 Ulf Lorenz Ulf Lorenz [ba1300] increased version number
 README 2016-12-01 Ulf Lorenz Ulf Lorenz [44cc35] Task 66: Documentation updates
 hello.cpp 2016-11-24 Ulf Lorenz Ulf Lorenz [2fda9e] Task 66: fixed build; added basic template for ...

Read Me

This directory contains a sample application together with a CMake
configuration file to compile it. The idea is that this forms a
template that you can simply copy and modify to suit your needs.

When you install WavePacket, you also install a CMake package file that
tells you all required compiler settings. Unfortunately, these files can
only be queried conveniently within CMake, which is why you need to take
an extra step for the building.

To build the hello world sample application:

1. Go to this directory.
2. Edit the CMakeLists.txt to suit your needs.
3. Type "cmake ." to create a build script (usually a Makefile)
4. Build by typing "make"

Then you will find the compiled program in this directory.

If you dislike having all sorts of temporary files cluttering your source code
folder, you can also do an out-of-source build by the following modifications:

1.' Make a build directory and go there.
3.' Type "cmake ${ThisDirectory}"

This will produce the executable in your build directory.

As a final note, the CMakeLists.txt has been written as it is for simplicity,
so that you can change options without requiring a CMake manual.
It is primitive and rather inflexible, but should be more than enough for common
applications, where you essentially write a program to glue together WavePacket
components.