src/cc: cmake file cleanup and split usdt into subdir
authorBrenden Blanco <bblanco@gmail.com>
Mon, 26 Jun 2017 20:37:34 +0000 (13:37 -0700)
committerBrenden Blanco <bblanco@gmail.com>
Fri, 25 Aug 2017 23:41:36 +0000 (16:41 -0700)
commit25f3ccee72f50f14fd51166a9839f86570be9f72
tree6e7c90abe29bbe5401f7946d08674bf67c8aba92
parentdcb77e60642d8ec4f463881313462a8ebd9ce1d6
src/cc: cmake file cleanup and split usdt into subdir

Move two usdt related files to a new subdirectory and link them into the
final product. Introduce a cmake option to disable that feature (turning
it off currently fails to compile).

Move some of the cmake flag computation into a helper cmake file and
include that rather than inlining it.

Signed-off-by: Brenden Blanco <bblanco@gmail.com>
cmake/clang_libs.cmake [new file with mode: 0644]
cmake/static_libstdc++.cmake [new file with mode: 0644]
src/cc/CMakeLists.txt
src/cc/usdt/CMakeLists.txt [new file with mode: 0644]
src/cc/usdt/usdt.cc [moved from src/cc/usdt.cc with 100% similarity]
src/cc/usdt/usdt_args.cc [moved from src/cc/usdt_args.cc with 100% similarity]