OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Makefile targets

The makefile generated by cmake has a number of targets depending on the components that were found. This page lists the most important ones; to get a complete list run:

make help

make install wiki page describes the layout of the installed package. Since building the entire package may take a long time depending on the architecture, building only specific components may save some time; here are some:

Important ones

Common CMake targets

The common targets are present: all, depend, rebuild_cache, edit_cache, install, clean, and test.

Atoms

The base library for atom manipulation is atomspace; this is a shared library with support code.

A custom target is also used: opencog_atom_types helps in generating atom types behind the scene.

Two helper programs are produced: atomspace_async for testing and atomspace_bm for benchmarking.

server

builtinreqs is a shared library that groups build-in requests. server is the shared library representing the actual server that gets linked into cogserver - the program.

Documentation and examples

The documentation that you are reading now is created using:

make doxygen

The examples are created using:

make examples

Packaging

To create a package use either

make package

or

make package_source

Programs

A number of executable programs are created:

  • cogserver

Unit testing

All the targets used for unit testing end in UTest. To get the full list one may use:

make help | grep "UTest"
Previous Next