| 54 | All other components of the HAMcast prototype as well as all programs depend on libhamcast, its header files and optional libraries. For further information have a look at the README file in the corresponding source folder. The general build steps are as follows: |
| 55 | |
| 56 | * change to {{{<source-dir>/}}}, this is where ''CMakeLists.txt'' lies |
| 57 | * create a build folder, e.g. {{{<source-dir>/build}}} |
| 58 | * change to build folder |
| 59 | * if HAMcast library and header are installed to standard folders ({{{/usr/lib/}}}, {{{/usr/include}}}), run: |
| 60 | {{{ |
| 61 | cmake ../ |
| 62 | }}} |
| 63 | * otherwise specify header and library location as follows: |
| 64 | {{{ |
| 65 | cmake -DHAMCAST_INCLUDE_PATH=<path-to-headers> -DHAMCAST_LIBRARY_PATH=<path-to-libhamcast> ../ |
| 66 | }}} |
| 67 | * '''Note:''' <path-to-headers> must point to directory where {{{hamcast/hamcast.hpp}}} lies. |
| 68 | * Compiled binary or library are stored in build folder |