[lttng-dev] [lttng-ust GIT PULL v4] Doc: add a CMake example

Sebastien Boisvert sboisvert at gydle.com
Tue Jun 21 01:22:27 UTC 2016


Hi Phil,

The cmake example is now built if cmake *and* a C++ compiler are detected by configure.ac.


I tested (starting from bootstrap, configure):

- make
- make install
- make distcheck
- cd tests && make check


Everything seems OK.


I have 16 commits that are sitting on top of 21ddb8ec9689e02944dae9cd4e5aba1ca2ab0d5b.


You can pull from

     https://github.com/sebhtml/lttng-ust.git  tags/for-phil-cmake-example.v4


To see the changes in a web browser: https://github.com/sebhtml/lttng-ust/commits/for-phil-cmake-example.v4


shortlog:

Sebastien Boisvert (16):
       Doc: add CMake example
       Doc: clean up cmake example
       Doc: add a trace.sh script in the cmake example
       Doc: clean up cmake file
       Doc: fix English issue
       Doc: rename cmake example
       Doc: ship cmake example with 'make distcheck'
       Doc: add FindLTTngUST CMake module
       Doc: use standard way for building with CMake
       Doc: use the FindLTTngUST CMake module
       configure.ac: check cmake availability
       configure.ac: check C++ compiler availability
       Doc: remove a duplicate line
       Doc: add missing cmake file in cmake example
       Doc: create a variable for cmake directories
       Doc: add the cmake example to the distcheck output


diffstat:

  configure.ac                                                          |   3 ++
  doc/examples/Makefile.am                                              |  38 ++++++++++++++++++++--
  doc/examples/cmake-multiple-shared-libraries/CMakeLists.txt           |  23 ++++++++++++++
  doc/examples/cmake-multiple-shared-libraries/README.md                |  52 ++++++++++++++++++++++++++++++
  doc/examples/cmake-multiple-shared-libraries/aligner-lib.cpp          |  16 ++++++++++
  doc/examples/cmake-multiple-shared-libraries/aligner-lib.h            |   7 +++++
  doc/examples/cmake-multiple-shared-libraries/aligner.cpp              |  10 ++++++
  doc/examples/cmake-multiple-shared-libraries/cmake/FindLTTngUST.cmake | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  doc/examples/cmake-multiple-shared-libraries/tester-lib.cpp           |  16 ++++++++++
  doc/examples/cmake-multiple-shared-libraries/tester-lib.h             |   7 +++++
  doc/examples/cmake-multiple-shared-libraries/tester.cpp               |  15 +++++++++
  doc/examples/cmake-multiple-shared-libraries/trace.sh                 |   9 ++++++
  doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.cpp  |   6 ++++
  doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.h    |  27 ++++++++++++++++
  14 files changed, 338 insertions(+), 2 deletions(-)



Have a good one.


More information about the lttng-dev mailing list