From c774c862863b6bc84df4c7e93eaaf5bdcb2a3e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mangano-Tarumi?= Date: Sat, 26 Jan 2019 17:07:53 -0500 Subject: [PATCH] rename liblibopustags to libot It follows the name of the C++ namespace, and avoids confusion with the opustags executable. --- CMakeLists.txt | 8 ++++---- t/CMakeLists.txt | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a53606c..040cd87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,21 +18,21 @@ configure_file(src/config.h.in config.h @ONLY) include_directories(BEFORE src "${CMAKE_BINARY_DIR}" ${OGG_INCLUDE_DIRS}) add_library( - libopustags + ot STATIC src/cli.cc src/ogg.cc src/opus.cc src/system.cc ) -target_link_libraries(libopustags PUBLIC ${OGG_LIBRARIES}) +target_link_libraries(ot PUBLIC ${OGG_LIBRARIES}) if (APPLE) - target_link_libraries(libopustags PUBLIC iconv) + target_link_libraries(ot PUBLIC iconv) endif() add_executable(opustags src/opustags.cc) -target_link_libraries(opustags libopustags) +target_link_libraries(opustags ot) include(GNUInstallDirs) install(TARGETS opustags DESTINATION "${CMAKE_INSTALL_BINDIR}") diff --git a/t/CMakeLists.txt b/t/CMakeLists.txt index 87a3a51..42d6703 100644 --- a/t/CMakeLists.txt +++ b/t/CMakeLists.txt @@ -1,17 +1,17 @@ add_executable(system.t EXCLUDE_FROM_ALL system.cc) -target_link_libraries(system.t libopustags) +target_link_libraries(system.t ot) add_executable(opus.t EXCLUDE_FROM_ALL opus.cc) -target_link_libraries(opus.t libopustags) +target_link_libraries(opus.t ot) add_executable(ogg.t EXCLUDE_FROM_ALL ogg.cc) -target_link_libraries(ogg.t libopustags) +target_link_libraries(ogg.t ot) add_executable(cli.t EXCLUDE_FROM_ALL cli.cc) -target_link_libraries(cli.t libopustags) +target_link_libraries(cli.t ot) add_executable(oggdump EXCLUDE_FROM_ALL oggdump.cc) -target_link_libraries(oggdump libopustags) +target_link_libraries(oggdump ot) configure_file(gobble.opus . COPYONLY)