Allow to use cmake to generate T tracer programs

- Add CMakeLists.txt to build all T tracer user tools
- Previous Makefiles are retained in common/utils/T: you can do
  $ cd common/utils/T/tracer
  $ make # all executables are there
  or also
  $ mkdir build && cd build
  $ cmake .. -GNinja
  $ ninja T_tools # all executables are in build/common/utils/T/tracer
This commit is contained in:
Robert Schmidt
2023-07-13 10:29:33 +02:00
parent a9e8a02dec
commit abf04db97b
7 changed files with 100 additions and 1 deletions
@@ -0,0 +1,5 @@
add_library(tracer_view STATIC
stdout.c textlist.c xy.c tti.c time.c ticktime.c scrolltti.c)
target_link_libraries(tracer_view PRIVATE pthread)
target_include_directories(tracer_view PRIVATE ../logger)
target_include_directories(tracer_view PUBLIC ..)