diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-01-05 17:50:19 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-01-05 17:50:19 +0100 |
commit | 571316f329948dc464cc2be37b210f0b3e7816f7 (patch) | |
tree | 8396262af9d84f5a0490af9805cde11cf5fc9eed /CMakeLists.txt | |
parent | e778887e4e5589528b06b04404ce4c71aaae267a (diff) | |
parent | 716f4394641d53f0d79c9ddac3fa93b03a49f278 (diff) | |
download | fdk-aac-571316f329948dc464cc2be37b210f0b3e7816f7.tar.gz fdk-aac-571316f329948dc464cc2be37b210f0b3e7816f7.tar.bz2 fdk-aac-571316f329948dc464cc2be37b210f0b3e7816f7.zip |
Merge fdk-aac 'v2.0.3' into dabplus2dabplus2
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4db8c7e..03f46cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ if(POLICY CMP0091) cmake_policy(SET CMP0091 NEW) endif() -project(fdk-aac VERSION 2.0.2) +project(fdk-aac VERSION 2.0.3) # Includes @@ -62,7 +62,7 @@ include(CPack) # Options option(BUILD_SHARED_LIBS "Build shared library" ON) -option(BUILD_PROGRAMS "Build aac-enc utility" OFF) +option(BUILD_PROGRAMS "Build extra utilities" OFF) option(FDK_AAC_INSTALL_CMAKE_CONFIG_MODULE "Install CMake package configuration file" ON) option(FDK_AAC_INSTALL_PKGCONFIG_MODULE "Install pkg-config .pc file" ON) @@ -487,10 +487,11 @@ target_link_libraries(fdk-aac PRIVATE $<$<BOOL:${HAVE_LIBM}>:m>) ### Set public headers and shared library version. Version info is critical for Unix-like OSes. set_target_properties(fdk-aac PROPERTIES PUBLIC_HEADER "${fdk_aacinclude_HEADERS}" - VERSION 2.0.2 + VERSION 2.0.3 SOVERSION 2 MACHO_COMPATIBILITY_VERSION 3.0.0 - MACHO_CURRENT_VERSION 3.2.0) + MACHO_CURRENT_VERSION 3.3.0 + LINKER_LANGUAGE C) ### Some compiler options from Makefile.am if(MSVC) @@ -585,4 +586,15 @@ if(BUILD_PROGRAMS) ## Program target installation install(TARGETS aac-enc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + + ## Tool for testing the library + set(test_encode_decode_SOURCES + test-encode-decode.c + wavreader.c + wavreader.h + sha1.c + sha1.h) + + add_executable(test-encode-decode ${test_encode_decode_SOURCES}) + target_link_libraries(test-encode-decode PRIVATE fdk-aac) endif() |