mirror of
https://github.com/fmang/opustags.git
synced 2025-01-15 12:43:17 +01:00
rename liblibopustags to libot
It follows the name of the C++ namespace, and avoids confusion with the opustags executable.
This commit is contained in:
parent
51f635d6bf
commit
c774c86286
@ -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}")
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user