mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
parent
6a8f79044a
commit
62868cede0
@ -72,6 +72,7 @@ if (NOT ENABLE_CPU_CLIP)
|
||||
set (CPU_CLIPS_NEGATIVE FALSE)
|
||||
endif ()
|
||||
cmake_dependent_option (ENABLE_COMPATIBLE_LIBSNDFILE_NAME "Set DLL name to libsndfile-1.dll (canonical name), sndfile.dll otherwise" OFF "WIN32;BUILD_SHARED_LIBS" OFF)
|
||||
cmake_dependent_option (INSTALL_MANPAGES "Install man pages for programs" ON "BUILD_PROGRAMS AND (UNIX OR MINGW OR CYGWIN)" OFF)
|
||||
|
||||
set (HAVE_EXTERNAL_XIPH_LIBS ${ENABLE_EXTERNAL_LIBS})
|
||||
set (HAVE_SQLITE3 ${BUILD_REGTEST})
|
||||
@ -92,6 +93,7 @@ add_feature_info (ENABLE_CPU_CLIP ENABLE_CPU_CLIP "Enable tricky cpu specific cl
|
||||
add_feature_info (ENABLE_BOW_DOCS ENABLE_BOW_DOCS "enable black-on-white html docs")
|
||||
add_feature_info (ENABLE_PACKAGE_CONFIG ENABLE_PACKAGE_CONFIG "generate and install package config file")
|
||||
add_feature_info (INSTALL_PKGCONFIG_MODULE INSTALL_PKGCONFIG_MODULE "generate and install pkg-config module")
|
||||
add_feature_info (INSTALL_MANPAGES INSTALL_MANPAGES "install man pages for programs")
|
||||
if (WIN32 AND BUILD_SHARED_LIBS)
|
||||
add_feature_info (ENABLE_COMPATIBLE_LIBSNDFILE_NAME ENABLE_COMPATIBLE_LIBSNDFILE_NAME "Set DLL name to libsndfile-1.dll (canonical name), sndfile.dll otherwise")
|
||||
endif ()
|
||||
@ -711,7 +713,7 @@ else ()
|
||||
|
||||
endif ()
|
||||
|
||||
if (UNIX)
|
||||
if (INSTALL_MANPAGES)
|
||||
set (man_MANS
|
||||
man/sndfile-info.1
|
||||
man/sndfile-play.1
|
||||
|
@ -134,7 +134,9 @@ You can pass additional options with `/D<parameter>=<value>` when you run
|
||||
This option is `ON` by default.
|
||||
* `ENABLE_PACKAGE_CONFIG` - generate and install [package config file](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#config-file-packages).
|
||||
* `INSTALL_PKGCONFIG_MODULE` - generate and install [pkg-config module](https://people.freedesktop.org/~dbn/pkg-config-guide.html).
|
||||
This option is `ON` by default.
|
||||
* `INSTALL_MANPAGES` - install [man pages](https://en.wikipedia.org/wiki/Man_page) for programs. This option is `ON` by default
|
||||
on Unix, MinGW and Cygwin platforms
|
||||
|
||||
* `ENABLE_STATIC_RUNTIME` - enable static runtime on Windows platform, `OFF` by
|
||||
default (CMake < 3.15).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user