Debian Codegraph @

cmake/tribits/examples/TribitsExampleMetaProject/README

raw
1 #
2 # TribitsExampleMetaProject Documentation
3 #
4
5 The project TribitsExampleMetaProject defines a TriBITS CMake project designed
6 to provide a simple example to demonstrate how to compose a TriBITS Meta
7 project out of one or more other TriBITS Repositories.
8
9 To get started building you can create a directory structure like:
10
11 ~/TribitsExampleMetaProject.base/
12 TribitsExampleMetaProject/ # This directory
13 TribitsExampleProject/ # Copied or cloned in
14 TribitsExampleProjectAddons/ # Copied or cloned in
15 BUILDS/
16 SERIAL_DEBUG/
17
18 Then configure with:
19
20 cd BUILDS/SERIAL_DEBUG/
21 cmake -DTribitsExMetaProj_ENABLE_ALL_PACKAGES=ON \
22 -DTribitsExMetaProj_ENABLE_TESTS=ON \
23 ../../TribitsExampleMetaProject
24
25 and build and test with:
26
27 make -j4
28 ctest -j4