mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-01 14:43:48 +01:00
Remove cmake-proxies hacks for building vendored libraries
Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
@@ -1,161 +0,0 @@
|
||||
add_conan_lib(
|
||||
ZLIB
|
||||
zlib/1.2.11
|
||||
REQUIRED
|
||||
PKG_CONFIG "zlib >= 1.2.11"
|
||||
INTERFACE_NAME ZLIB::ZLIB
|
||||
OPTION_NAME zlib
|
||||
CONAN_OPTIONS
|
||||
zlib:shared=True
|
||||
)
|
||||
|
||||
add_conan_lib(
|
||||
expat
|
||||
expat/2.2.9@audacity/stable
|
||||
REQUIRED
|
||||
PKG_CONFIG "expat >= 2.1.0"
|
||||
CONAN_OPTIONS
|
||||
expat:shared=True
|
||||
)
|
||||
|
||||
set( wx_zlib "zlib" )
|
||||
|
||||
set( wx_png "libpng" )
|
||||
set( wx_jpeg "libjpeg-turbo")
|
||||
set( wx_tiff "off" )
|
||||
|
||||
set( id3tag_zlib "conan" )
|
||||
|
||||
if ( ${_OPT}use_zlib STREQUAL "system" )
|
||||
set( wx_zlib "sys" )
|
||||
# To prevent linking conflicts - we need to use system libpng as well.
|
||||
# wxWdigets will attempt to resolve it using find_package
|
||||
find_required_package( PNG "libpng-dev" )
|
||||
set( wx_png "sys" )
|
||||
# And, for consistency
|
||||
find_required_package( JPEG "libjpeg-turbo8-dev" )
|
||||
set( wx_jpeg "sys" )
|
||||
|
||||
set( id3tag_zlib "system" )
|
||||
endif()
|
||||
|
||||
set(wx_expat "expat")
|
||||
|
||||
if (${_OPT}use_expat STREQUAL "system")
|
||||
set(wx_expat "sys")
|
||||
endif()
|
||||
|
||||
add_conan_lib(
|
||||
wxWidgets
|
||||
wxwidgets/3.1.3.1-audacity
|
||||
REQUIRED
|
||||
ALWAYS_ALLOW_CONAN_FALLBACK
|
||||
OPTION_NAME wxwidgets
|
||||
FIND_PACKAGE_OPTIONS COMPONENTS adv base core html qa xml net
|
||||
INTERFACE_NAME wxwidgets::wxwidgets
|
||||
CONAN_OPTIONS
|
||||
wxwidgets:shared=True
|
||||
wxwidgets:zlib=${wx_zlib}
|
||||
wxwidgets:expat=${wx_expat}
|
||||
wxwidgets:compatibility=3.0
|
||||
wxwidgets:png=${wx_png}
|
||||
wxwidgets:jpeg=${wx_jpeg}
|
||||
wxwidgets:tiff=${wx_tiff}
|
||||
wxwidgets:secretstore=False
|
||||
wxwidgets:opengl=False
|
||||
wxwidgets:propgrid=False
|
||||
wxwidgets:ribbon=False
|
||||
wxwidgets:richtext=False
|
||||
wxwidgets:stc=False
|
||||
wxwidgets:webview=False
|
||||
wxwidgets:help=False
|
||||
wxwidgets:html_help=False
|
||||
wxwidgets:fs_inet=False
|
||||
wxwidgets:protocol=False
|
||||
# Building with SIMD requires a huge number of build dependencies
|
||||
# Probably this will be enabled in the future
|
||||
libjpeg-turbo:SIMD=False
|
||||
)
|
||||
|
||||
add_conan_lib(
|
||||
libmp3lame
|
||||
libmp3lame/3.100
|
||||
REQUIRED
|
||||
FIND_PACKAGE
|
||||
INTERFACE_NAME libmp3lame::libmp3lame
|
||||
)
|
||||
|
||||
add_conan_lib(
|
||||
libid3tag
|
||||
libid3tag/0.15.2b@audacity/stable
|
||||
OPTION_NAME libid3tag
|
||||
PKG_CONFIG "id3tag >= 0.15.1b"
|
||||
CONAN_OPTIONS
|
||||
libid3tag:zlib=${id3tag_zlib}
|
||||
)
|
||||
|
||||
add_conan_lib(
|
||||
libmad
|
||||
libmad/0.15.2b@audacity/stable
|
||||
OPTION_NAME libmad
|
||||
PKG_CONFIG "mad >= 0.15.1b"
|
||||
)
|
||||
|
||||
if( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
|
||||
set( curl_ssl "darwinssl" )
|
||||
elseif( CMAKE_SYSTEM_NAME MATCHES "Windows" )
|
||||
set( curl_ssl "schannel")
|
||||
else()
|
||||
set ( curl_ssl "openssl" )
|
||||
endif ()
|
||||
|
||||
add_conan_lib(
|
||||
RapidJSON
|
||||
rapidjson/1.1.0
|
||||
REQUIRED
|
||||
)
|
||||
|
||||
set_conan_vars_to_parent()
|
||||
|
||||
# Required libraries
|
||||
#
|
||||
# directory option symbol req chk version
|
||||
addlib( libsndfile sndfile SNDFILE YES YES "sndfile >= 1.0.28" )
|
||||
addlib( libsoxr soxr SOXR YES YES "soxr >= 0.1.1" )
|
||||
addlib( portaudio-v19 portaudio PORTAUDIO YES YES "portaudio-2.0 >= 19" )
|
||||
addlib( sqlite sqlite SQLITE YES YES "sqlite3 >= 3.32.0" )
|
||||
|
||||
# Optional libraries
|
||||
#
|
||||
# directory option symbol req chk version
|
||||
addlib( ffmpeg ffmpeg FFMPEG NO NO "libavcodec >= 51.53" "libavformat >= 52.12" "libavutil >= 52.66" )
|
||||
addlib( libnyquist nyquist NYQUIST NO YES "" )
|
||||
addlib( libvamp vamp VAMP NO YES "vamp >= 2.5" "vamp-hostsdk >= 2.5" )
|
||||
addlib( libogg ogg LIBOGG NO YES "ogg >= 1.3.1" )
|
||||
addlib( libvorbis vorbis LIBVORBIS NO YES "vorbis >= 1.3.3" "vorbisenc >= 1.3.3" "vorbisfile >= 1.3.3" )
|
||||
addlib( libflac flac LIBFLAC NO YES "flac >= 1.3.1" "flac++ >= 1.3.1" )
|
||||
addlib( lv2 lv2 LV2 NO YES "lilv-0 >= 0.24.6" "lv2 >= 1.16.0" "serd-0 >= 0.30.2" "sord-0 >= 0.16.4" "sratom-0 >= 0.6.4" "suil-0 >= 0.10.6" )
|
||||
|
||||
addlib( portmidi midi MIDI NO YES "portmidi >= 0.1" )
|
||||
if (NOT USE_MIDI AND
|
||||
"EXPERIMENTAL_MIDI_OUT" IN_LIST EXPERIMENTAL_OPTIONS_LIST )
|
||||
message(FATAL_ERROR "EXPERIMENTAL_MIDI_OUT requires USE_MIDI")
|
||||
endif ()
|
||||
|
||||
|
||||
addlib( portmixer portmixer PORTMIXER NO YES "" )
|
||||
if (USE_PORTMIXER AND use_portaudio STREQUAL "system")
|
||||
message(FATAL_ERROR "Tenacity's use of PortMixer requires using the vendored fork of PortAudio.\n"
|
||||
"${_OPT}use_portaudio=local is required if ${_OPT}use_portmixer=local\n"
|
||||
"Alternatively set ${_OPT}use_portmixer=off to keep ${_OPT}use_portaudio=system")
|
||||
endif()
|
||||
if (NOT USE_PORTMIXER AND
|
||||
"EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT" IN_LIST
|
||||
EXPERIMENTAL_OPTIONS_LIST )
|
||||
message(FATAL_ERROR "EXPERIMENTAL_AUTOMATED_INPUT_LEVEL_ADJUSTMENT requires USE_PORTMIXER")
|
||||
endif ()
|
||||
|
||||
addlib( portsmf portsmf PORTSMF NO YES "portSMF >= 0.1" )
|
||||
addlib( libsbsms sbsms SBSMS NO YES "sbsms >= 2.2.0" )
|
||||
addlib( soundtouch soundtouch SOUNDTOUCH NO YES "soundtouch >= 1.7.1" )
|
||||
addlib( twolame twolame LIBTWOLAME NO YES "twolame >= 0.3.13" )
|
||||
@@ -1,9 +0,0 @@
|
||||
CMake requires that its CMakeList.txt files follow the directory structure
|
||||
of the projects. However, for Audacity this would cause collision with
|
||||
existing CMakeList.txt files that e.g. expat and libsoxr already provide.
|
||||
|
||||
Our solution is to have this proxy directory for lib-src to hold our version of
|
||||
the CMakeList.txt files. We did try bundling several libraries under one
|
||||
CMakeList.txt without using subdirectories. However, we were then fighting
|
||||
CMake too much - and did not have a clean separation of information between sub
|
||||
projects.
|
||||
@@ -1,85 +0,0 @@
|
||||
|
||||
# Add our target and all of it's aliases
|
||||
add_library( ${TARGET} INTERFACE )
|
||||
add_library( ${symbol} ALIAS ${TARGET} )
|
||||
add_library( libavcodec ALIAS ${TARGET} )
|
||||
add_library( libavformat ALIAS ${TARGET} )
|
||||
add_library( libavutil ALIAS ${TARGET} )
|
||||
|
||||
# Pull in standard variables
|
||||
def_vars()
|
||||
|
||||
message( STATUS "========== Configuring ${name} ==========" )
|
||||
|
||||
# We can only (possibly) link to it if we have pkg-config
|
||||
if( PkgConfig_FOUND )
|
||||
set( opt "linked" )
|
||||
set( desc "linked, " )
|
||||
endif()
|
||||
|
||||
# FFmpeg is either dynamically loaded, linked to, or off
|
||||
cmd_option( ${_OPT}use_ffmpeg
|
||||
"Use ffmpeg library [loaded, ${desc}off]"
|
||||
"loaded"
|
||||
STRINGS "loaded" ${opt} "off"
|
||||
)
|
||||
|
||||
# Determine if it will be turned off, linked to, or loaded
|
||||
if( ${_OPT}use_ffmpeg STREQUAL "off" )
|
||||
message( STATUS "Disabling '${name}' library" )
|
||||
else()
|
||||
# Let the Audacity target know that this library will be used.
|
||||
set( USE_${symbol} ON CACHE INTERNAL "" )
|
||||
|
||||
# Check for system package
|
||||
pkg_check_modules( ${TARGET} ${packages} )
|
||||
|
||||
# Default to dynamically loaded
|
||||
set( isdyn YES )
|
||||
|
||||
# Does the user want to link to it instead?
|
||||
if( ${_OPT}use_ffmpeg STREQUAL "linked" )
|
||||
# Set up for link if it was found
|
||||
if( ${TARGET}_FOUND )
|
||||
message( STATUS "Linking '${name}' library during build" )
|
||||
|
||||
# Pull in the package settings
|
||||
get_package_interface( ${TARGET} )
|
||||
|
||||
# Not dynamic
|
||||
set( isdyn NO )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Pull in the local includes if we're dynamically loading
|
||||
if( isdyn )
|
||||
message( STATUS "Will dynamically load '${name}' library at runtime" )
|
||||
|
||||
# Use the system includes if they are available
|
||||
if( ${TARGET}_FOUND )
|
||||
message( STATUS "Using '${name}' system includes" )
|
||||
|
||||
# Only pull in the includes, don't need the libraries
|
||||
list( APPEND INCLUDES
|
||||
INTERFACE
|
||||
${${TARGET}_INCLUDE_DIRS}
|
||||
)
|
||||
else()
|
||||
message( STATUS "Using '${name}' local includes" )
|
||||
|
||||
# Use the local ffmpeg includes
|
||||
list( APPEND INCLUDES
|
||||
INTERFACE
|
||||
${TARGET_ROOT}
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# And add the settings to the target
|
||||
target_include_directories( ${TARGET} INTERFACE ${INCLUDES} )
|
||||
target_compile_options( ${TARGET} INTERFACE ${COPTS} )
|
||||
target_link_directories( ${TARGET} INTERFACE ${LINKDIRS} )
|
||||
target_link_options( ${TARGET} INTERFACE ${LOPTS} )
|
||||
target_link_libraries( ${TARGET} INTERFACE ${LIBRARIES} )
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
|
||||
# libflac
|
||||
${TARGET_ROOT}/src/libFLAC/bitmath.c
|
||||
${TARGET_ROOT}/src/libFLAC/bitreader.c
|
||||
${TARGET_ROOT}/src/libFLAC/bitwriter.c
|
||||
${TARGET_ROOT}/src/libFLAC/cpu.c
|
||||
${TARGET_ROOT}/src/libFLAC/crc.c
|
||||
${TARGET_ROOT}/src/libFLAC/fixed.c
|
||||
${TARGET_ROOT}/src/libFLAC/fixed_intrin_sse2.c
|
||||
${TARGET_ROOT}/src/libFLAC/fixed_intrin_ssse3.c
|
||||
${TARGET_ROOT}/src/libFLAC/float.c
|
||||
${TARGET_ROOT}/src/libFLAC/format.c
|
||||
${TARGET_ROOT}/src/libFLAC/lpc.c
|
||||
${TARGET_ROOT}/src/libFLAC/lpc_intrin_sse.c
|
||||
${TARGET_ROOT}/src/libFLAC/lpc_intrin_sse2.c
|
||||
${TARGET_ROOT}/src/libFLAC/lpc_intrin_sse41.c
|
||||
${TARGET_ROOT}/src/libFLAC/lpc_intrin_avx2.c
|
||||
${TARGET_ROOT}/src/libFLAC/md5.c
|
||||
${TARGET_ROOT}/src/libFLAC/memory.c
|
||||
${TARGET_ROOT}/src/libFLAC/metadata_iterators.c
|
||||
${TARGET_ROOT}/src/libFLAC/metadata_object.c
|
||||
${TARGET_ROOT}/src/libFLAC/stream_decoder.c
|
||||
${TARGET_ROOT}/src/libFLAC/stream_encoder.c
|
||||
${TARGET_ROOT}/src/libFLAC/stream_encoder_intrin_sse2.c
|
||||
${TARGET_ROOT}/src/libFLAC/stream_encoder_intrin_ssse3.c
|
||||
${TARGET_ROOT}/src/libFLAC/stream_encoder_intrin_avx2.c
|
||||
${TARGET_ROOT}/src/libFLAC/stream_encoder_framing.c
|
||||
${TARGET_ROOT}/src/libFLAC/window.c
|
||||
${TARGET_ROOT}/src/libFLAC/ogg_decoder_aspect.c
|
||||
${TARGET_ROOT}/src/libFLAC/ogg_encoder_aspect.c
|
||||
${TARGET_ROOT}/src/libFLAC/ogg_helper.c
|
||||
${TARGET_ROOT}/src/libFLAC/ogg_mapping.c
|
||||
$<$<BOOL:${WIN32}>:${TARGET_ROOT}/src/share/win_utf8_io/win_utf8_io.c>
|
||||
|
||||
# libflac++
|
||||
${TARGET_ROOT}/src/libFLAC++/metadata.cpp
|
||||
${TARGET_ROOT}/src/libFLAC++/stream_decoder.cpp
|
||||
${TARGET_ROOT}/src/libFLAC++/stream_encoder.cpp
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
${TARGET_ROOT}/src/libFLAC/include
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
HAVE_CONFIG_H
|
||||
PUBLIC
|
||||
FLAC__NO_DLL
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
PUBLIC
|
||||
libogg
|
||||
)
|
||||
|
||||
set( CPU_IS_BIG_ENDIAN ${WORDS_BIGENDIAN} )
|
||||
set( CPU_IS_LITTLE_ENDIAN !${WORDS_BIGENDIAN} )
|
||||
|
||||
set( FLAC__HAS_OGG 1 )
|
||||
|
||||
set( VERSION "1.3.1" )
|
||||
|
||||
configure_file( config.h.in private/config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||
|
||||
@@ -1,234 +0,0 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define if building universal (internal helper macro) */
|
||||
#cmakedefine AC_APPLE_UNIVERSAL_BUILD 1
|
||||
|
||||
/* Target processor is big endian. */
|
||||
#cmakedefine01 CPU_IS_BIG_ENDIAN
|
||||
|
||||
/* Target processor is little endian. */
|
||||
#cmakedefine01 CPU_IS_LITTLE_ENDIAN
|
||||
|
||||
/* define to align allocated memory on 32-byte boundaries */
|
||||
#cmakedefine FLAC__ALIGN_MALLOC_DATA 1
|
||||
|
||||
/* define if building for ia32/i386 */
|
||||
#cmakedefine FLAC__CPU_IA32 1
|
||||
|
||||
/* define if building for PowerPC */
|
||||
#cmakedefine FLAC__CPU_PPC 1
|
||||
|
||||
/* define if building for PowerPC with SPE ABI */
|
||||
#cmakedefine FLAC__CPU_PPC_SPE 1
|
||||
|
||||
/* define if building for SPARC */
|
||||
#cmakedefine FLAC__CPU_SPARC 1
|
||||
|
||||
/* define if building for x86_64 */
|
||||
#cmakedefine FLAC__CPU_X86_64 1
|
||||
|
||||
/* define if you have docbook-to-man or docbook2man */
|
||||
#cmakedefine FLAC__HAS_DOCBOOK_TO_MAN 1
|
||||
|
||||
/* define if you are compiling for x86 and have the NASM assembler */
|
||||
#cmakedefine FLAC__HAS_NASM 1
|
||||
|
||||
/* define if you have the ogg library */
|
||||
#cmakedefine FLAC__HAS_OGG 1
|
||||
|
||||
/* Set to 1 if <x86intrin.h> is available. */
|
||||
#cmakedefine FLAC__HAS_X86INTRIN 1
|
||||
|
||||
/* define to disable use of assembly code */
|
||||
#cmakedefine FLAC__NO_ASM 1
|
||||
|
||||
/* define if your operating system supports SSE instructions */
|
||||
#cmakedefine FLAC__SSE_OS 1
|
||||
|
||||
/* define if building for Darwin / MacOS X */
|
||||
#cmakedefine FLAC__SYS_DARWIN 1
|
||||
|
||||
/* define if building for Linux */
|
||||
#cmakedefine FLAC__SYS_LINUX 1
|
||||
|
||||
/* define to enable use of Altivec instructions */
|
||||
#cmakedefine FLAC__USE_ALTIVEC 1
|
||||
|
||||
/* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
|
||||
#cmakedefine GWINSZ_IN_SYS_IOCTL 1
|
||||
|
||||
/* Compiler has the __builtin_bswap16 intrinsic */
|
||||
#cmakedefine HAVE_BSWAP16 1
|
||||
|
||||
/* Compiler has the __builtin_bswap32 intrinsic */
|
||||
#cmakedefine HAVE_BSWAP32 1
|
||||
|
||||
/* Define to 1 if you have the <byteswap.h> header file. */
|
||||
#cmakedefine HAVE_BYTESWAP_H 1
|
||||
|
||||
/* Define to 1 if you have the <cpuid.h> header file. */
|
||||
#cmakedefine HAVE_CPUID_H 1
|
||||
|
||||
/* Define to 1 if C++ supports variable-length arrays. */
|
||||
#cmakedefine HAVE_CXX_VARARRAYS 1
|
||||
|
||||
/* Define to 1 if C supports variable-length arrays. */
|
||||
#cmakedefine HAVE_C_VARARRAYS 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
|
||||
#cmakedefine HAVE_FSEEKO 1
|
||||
|
||||
/* Define to 1 if you have the `getopt_long' function. */
|
||||
#cmakedefine HAVE_GETOPT_LONG 1
|
||||
|
||||
/* Define if you have the iconv() function and it works. */
|
||||
#cmakedefine HAVE_ICONV 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
|
||||
#cmakedefine HAVE_LANGINFO_CODESET 1
|
||||
|
||||
/* lround support */
|
||||
#cmakedefine HAVE_LROUND 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if the system has the type `socklen_t'. */
|
||||
#cmakedefine HAVE_SOCKLEN_T 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||
#cmakedefine HAVE_SYS_PARAM_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#cmakedefine HAVE_TERMIOS_H 1
|
||||
|
||||
/* Define to 1 if typeof works with your compiler. */
|
||||
#cmakedefine HAVE_TYPEOF 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the <x86intrin.h> header file. */
|
||||
#cmakedefine HAVE_X86INTRIN_H 1
|
||||
|
||||
/* Define as const if the declaration of iconv() needs const. */
|
||||
#cmakedefine ICONV_CONST @ICONV_CONST@
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@"
|
||||
|
||||
/* Name of package */
|
||||
#cmakedefine PACKAGE "@PACKAGE@"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION"
|
||||
|
||||
/* The size of `off_t', as computed by sizeof. */
|
||||
#define SIZEOF_OFF_T @SIZEOF_OFF_T
|
||||
|
||||
/* The size of `void*', as computed by sizeof. */
|
||||
#define SIZEOF_VOIDP @SIZEOF_VOIDP@
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS 1
|
||||
|
||||
/* Enable extensions on AIX 3, Interix. */
|
||||
#ifndef _ALL_SOURCE
|
||||
# cmakedefine _ALL_SOURCE 1
|
||||
#endif
|
||||
/* Enable GNU extensions on systems that have them. */
|
||||
#ifndef _GNU_SOURCE
|
||||
# cmakedefine _GNU_SOURCE 1
|
||||
#endif
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
# cmakedefine _POSIX_PTHREAD_SEMANTICS 1
|
||||
#endif
|
||||
/* Enable extensions on HP NonStop. */
|
||||
#ifndef _TANDEM_SOURCE
|
||||
# cmakedefine _TANDEM_SOURCE 1
|
||||
#endif
|
||||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
# cmakedefine __EXTENSIONS__ 1
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number of package */
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
/* Target processor is big endian. */
|
||||
#cmakedefine WORDS_BIGENDIAN 1
|
||||
|
||||
/* Enable large inode numbers on Mac OS X 10.5. */
|
||||
#ifndef _DARWIN_USE_64_BIT_INODE
|
||||
# define _DARWIN_USE_64_BIT_INODE 1
|
||||
#endif
|
||||
|
||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||
#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
|
||||
|
||||
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
|
||||
#cmakedefine _LARGEFILE_SOURCE 1
|
||||
|
||||
/* Define for large files, on AIX-style hosts. */
|
||||
#cmakedefine _LARGE_FILES 1
|
||||
|
||||
/* Define to 1 if on MINIX. */
|
||||
#cmakedefine _MINIX 1
|
||||
|
||||
/* Define to 2 if the system does not provide POSIX.1 features except with
|
||||
this defined. */
|
||||
#cmakedefine _POSIX_1_SOURCE 1
|
||||
|
||||
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
||||
#cmakedefine _POSIX_SOURCE 1
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#cmakedefine inline @inline@
|
||||
#endif
|
||||
|
||||
/* Define to __typeof__ if your compiler spells it that way. */
|
||||
#cmakedefine typeof @typeof@
|
||||
@@ -1,305 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
# libnyquist
|
||||
|
||||
${TARGET_ROOT}/nyx.c
|
||||
|
||||
# libnyquist/nyquist/cmt
|
||||
|
||||
${TARGET_ROOT}/nyquist/cmt/cext.c
|
||||
${TARGET_ROOT}/nyquist/cmt/cleanup.c
|
||||
${TARGET_ROOT}/nyquist/cmt/cmdline.c
|
||||
${TARGET_ROOT}/nyquist/cmt/cmtcmd.c
|
||||
${TARGET_ROOT}/nyquist/cmt/mem.c
|
||||
${TARGET_ROOT}/nyquist/cmt/midifile.c
|
||||
${TARGET_ROOT}/nyquist/cmt/midifns.c
|
||||
${TARGET_ROOT}/nyquist/cmt/moxc.c
|
||||
${TARGET_ROOT}/nyquist/cmt/record.c
|
||||
${TARGET_ROOT}/nyquist/cmt/seq.c
|
||||
${TARGET_ROOT}/nyquist/cmt/seqmread.c
|
||||
${TARGET_ROOT}/nyquist/cmt/seqmwrite.c
|
||||
${TARGET_ROOT}/nyquist/cmt/seqread.c
|
||||
${TARGET_ROOT}/nyquist/cmt/seqwrite.c
|
||||
${TARGET_ROOT}/nyquist/cmt/tempomap.c
|
||||
${TARGET_ROOT}/nyquist/cmt/timebase.c
|
||||
${TARGET_ROOT}/nyquist/cmt/userio.c
|
||||
|
||||
# libnyquist/nyquist/cmupv
|
||||
|
||||
${TARGET_ROOT}/nyquist/cmupv/src/cmupv.c
|
||||
${TARGET_ROOT}/nyquist/cmupv/src/cmupvdbg.c
|
||||
${TARGET_ROOT}/nyquist/cmupv/src/internal.c
|
||||
|
||||
# libnyquist/nyquist/ffts
|
||||
|
||||
${TARGET_ROOT}/nyquist/ffts/src/fftext.c
|
||||
${TARGET_ROOT}/nyquist/ffts/src/fftlib.c
|
||||
${TARGET_ROOT}/nyquist/ffts/src/matlib.c
|
||||
|
||||
# libnyquist/nyquist/nyqsrc
|
||||
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/add.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/avg.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/compose.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/convolve.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/debug.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/downsample.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/f0.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/falloc.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/ffilterkit.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/fft.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/handlers.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/inverse.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/local.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/lpanal.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/multiread.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/multiseq.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/phasevocoder.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/probe.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/pvshell.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/resamp.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/resampv.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/samples.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/seqext.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/seqfnint.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/seqinterf.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sliderdata.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sndfnint.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sndmax.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sndread.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sndseq.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sndsliders.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sndwritepa.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/sound.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/stats.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/stoponzero.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/trigger.c
|
||||
${TARGET_ROOT}/nyquist/nyqsrc/yin.c
|
||||
|
||||
# libnyquist/nyquist/nyqstk
|
||||
|
||||
${TARGET_ROOT}/nyquist/nyqstk/instr.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/stkinit.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/stkint.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/ADSR.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/BandedWG.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/BiQuad.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Bowed.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/BowTable.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Chorus.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Clarinet.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Delay.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/DelayA.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/DelayL.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Effect.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Envelope.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/FileRead.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/FileWvIn.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Filter.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Flute.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Function.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Generator.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Instrmnt.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/JCRev.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/JetTable.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Mandolin.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Modal.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/ModalBar.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Noise.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/NRev.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/OnePole.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/OneZero.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/PitShift.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/PluckTwo.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/PoleZero.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/PRCRev.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/ReedTable.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Saxofony.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/SineWave.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Sitar.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/Stk.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/WaveLoop.cpp
|
||||
${TARGET_ROOT}/nyquist/nyqstk/src/WvIn.cpp
|
||||
|
||||
|
||||
# libnyquist/nyquist/sys
|
||||
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/macaboutbox.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/MacAE.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/MacCommandWin.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/macdrag.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/MacFileUtils.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/macfun.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/MacHandleEv.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/macint.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/macstuff.c
|
||||
#${TARGET_ROOT}/nyquist/sys/mac/xlextstart.c
|
||||
#${TARGET_ROOT}/nyquist/sys/unix/io.c
|
||||
#${TARGET_ROOT}/nyquist/sys/unix/osstuff.c
|
||||
#${TARGET_ROOT}/nyquist/sys/unix/term.c
|
||||
#${TARGET_ROOT}/nyquist/sys/unix/termtest.c
|
||||
#${TARGET_ROOT}/nyquist/sys/win/msvc/winfun.c
|
||||
#${TARGET_ROOT}/nyquist/sys/win/msvc/winstuff.c
|
||||
#${TARGET_ROOT}/nyquist/sys/win/wingui/winguistuff.c
|
||||
#${TARGET_ROOT}/nyquist/sys/win/wingui/xlextstart.c
|
||||
#${TARGET_ROOT}/nyquist/sys/win/wingui/xlispfns.c
|
||||
|
||||
# libnyquist/nyquist/tran
|
||||
|
||||
${TARGET_ROOT}/nyquist/tran/abs.c
|
||||
${TARGET_ROOT}/nyquist/tran/allpoles.c
|
||||
${TARGET_ROOT}/nyquist/tran/alpass.c
|
||||
${TARGET_ROOT}/nyquist/tran/alpasscv.c
|
||||
${TARGET_ROOT}/nyquist/tran/alpassvc.c
|
||||
${TARGET_ROOT}/nyquist/tran/alpassvv.c
|
||||
${TARGET_ROOT}/nyquist/tran/amosc.c
|
||||
${TARGET_ROOT}/nyquist/tran/areson.c
|
||||
${TARGET_ROOT}/nyquist/tran/aresoncv.c
|
||||
${TARGET_ROOT}/nyquist/tran/aresonvc.c
|
||||
${TARGET_ROOT}/nyquist/tran/aresonvv.c
|
||||
${TARGET_ROOT}/nyquist/tran/atone.c
|
||||
${TARGET_ROOT}/nyquist/tran/atonev.c
|
||||
${TARGET_ROOT}/nyquist/tran/biquadfilt.c
|
||||
${TARGET_ROOT}/nyquist/tran/buzz.c
|
||||
${TARGET_ROOT}/nyquist/tran/chase.c
|
||||
${TARGET_ROOT}/nyquist/tran/clip.c
|
||||
${TARGET_ROOT}/nyquist/tran/congen.c
|
||||
${TARGET_ROOT}/nyquist/tran/const.c
|
||||
${TARGET_ROOT}/nyquist/tran/coterm.c
|
||||
${TARGET_ROOT}/nyquist/tran/delaycc.c
|
||||
${TARGET_ROOT}/nyquist/tran/delaycv.c
|
||||
${TARGET_ROOT}/nyquist/tran/eqbandvvv.c
|
||||
${TARGET_ROOT}/nyquist/tran/exp.c
|
||||
${TARGET_ROOT}/nyquist/tran/fmfb.c
|
||||
${TARGET_ROOT}/nyquist/tran/fmfbv.c
|
||||
${TARGET_ROOT}/nyquist/tran/fmosc.c
|
||||
${TARGET_ROOT}/nyquist/tran/follow.c
|
||||
${TARGET_ROOT}/nyquist/tran/fromarraystream.c
|
||||
${TARGET_ROOT}/nyquist/tran/fromobject.c
|
||||
${TARGET_ROOT}/nyquist/tran/gate.c
|
||||
${TARGET_ROOT}/nyquist/tran/ifft.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrbanded.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrbow.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrbowedfreq.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrclar.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrclarall.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrclarfreq.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrflute.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrfluteall.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrflutefreq.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrmandolin.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrmodalbar.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrsax.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrsaxall.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrsaxfreq.c
|
||||
${TARGET_ROOT}/nyquist/tran/instrsitar.c
|
||||
${TARGET_ROOT}/nyquist/tran/integrate.c
|
||||
${TARGET_ROOT}/nyquist/tran/log.c
|
||||
${TARGET_ROOT}/nyquist/tran/lpreson.c
|
||||
${TARGET_ROOT}/nyquist/tran/maxv.c
|
||||
${TARGET_ROOT}/nyquist/tran/offset.c
|
||||
${TARGET_ROOT}/nyquist/tran/oneshot.c
|
||||
${TARGET_ROOT}/nyquist/tran/osc.c
|
||||
${TARGET_ROOT}/nyquist/tran/partial.c
|
||||
${TARGET_ROOT}/nyquist/tran/pluck.c
|
||||
${TARGET_ROOT}/nyquist/tran/prod.c
|
||||
${TARGET_ROOT}/nyquist/tran/pwl.c
|
||||
${TARGET_ROOT}/nyquist/tran/quantize.c
|
||||
${TARGET_ROOT}/nyquist/tran/recip.c
|
||||
${TARGET_ROOT}/nyquist/tran/reson.c
|
||||
${TARGET_ROOT}/nyquist/tran/resoncv.c
|
||||
${TARGET_ROOT}/nyquist/tran/resonvc.c
|
||||
${TARGET_ROOT}/nyquist/tran/resonvv.c
|
||||
${TARGET_ROOT}/nyquist/tran/sampler.c
|
||||
${TARGET_ROOT}/nyquist/tran/scale.c
|
||||
${TARGET_ROOT}/nyquist/tran/shape.c
|
||||
${TARGET_ROOT}/nyquist/tran/sine.c
|
||||
${TARGET_ROOT}/nyquist/tran/siosc.c
|
||||
${TARGET_ROOT}/nyquist/tran/slope.c
|
||||
${TARGET_ROOT}/nyquist/tran/sqrt.c
|
||||
${TARGET_ROOT}/nyquist/tran/stkchorus.c
|
||||
${TARGET_ROOT}/nyquist/tran/stkpitshift.c
|
||||
${TARGET_ROOT}/nyquist/tran/stkrev.c
|
||||
${TARGET_ROOT}/nyquist/tran/tapf.c
|
||||
${TARGET_ROOT}/nyquist/tran/tapv.c
|
||||
${TARGET_ROOT}/nyquist/tran/tone.c
|
||||
${TARGET_ROOT}/nyquist/tran/tonev.c
|
||||
${TARGET_ROOT}/nyquist/tran/upsample.c
|
||||
${TARGET_ROOT}/nyquist/tran/white.c
|
||||
|
||||
# libnyquist/nyquist/xlisp
|
||||
|
||||
${TARGET_ROOT}/nyquist/xlisp/extern.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/path.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/security.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlbfun.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlcont.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xldbug.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xldmem.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xleval.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlfio.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlftab.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlglob.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlimage.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlinit.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlio.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlisp.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xljump.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xllist.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlmath.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlobj.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlpp.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlprin.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlread.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlstr.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlsubr.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlsym.c
|
||||
${TARGET_ROOT}/nyquist/xlisp/xlsys.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/nyquist/cmt
|
||||
${TARGET_ROOT}/nyquist/cmupv/src
|
||||
${TARGET_ROOT}/nyquist/ffts/src
|
||||
${TARGET_ROOT}/nyquist/nyqsrc
|
||||
${TARGET_ROOT}/nyquist/nyqstk
|
||||
${TARGET_ROOT}/nyquist/nyqstk/include
|
||||
${TARGET_ROOT}/nyquist/tran
|
||||
${TARGET_ROOT}/nyquist/xlisp
|
||||
$<$<BOOL:${UNIX}>:${TARGET_ROOT}/nyquist/sys/unix>
|
||||
$<$<NOT:$<BOOL:${UNIX}>>:${TARGET_ROOT}/nyquist/sys/win/msvc>
|
||||
PUBLIC
|
||||
${TARGET_ROOT}
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
CMTSTUFF
|
||||
EXT
|
||||
$<$<PLATFORM_ID:Windows>:WIN32>
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
$<$<PLATFORM_ID:Darwin>:-fno-common>
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
PRIVATE
|
||||
portaudio-v19
|
||||
libsndfile
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/bitwise.c
|
||||
${TARGET_ROOT}/src/framing.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PUBLIC
|
||||
${_PUBDIR}
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
if( SIZEOF_INT16 EQUAL 2 )
|
||||
set( SIZE16 "int16_t" )
|
||||
elseif( SIZEOF_SHORT EQUAL 2 )
|
||||
set( SIZE16 "short" )
|
||||
elseif( SIZEOF_INT EQUAL 2 )
|
||||
set( SIZE16 "int" )
|
||||
else()
|
||||
message( FATAL_ERROR "No 16 bit type found on this platform!" )
|
||||
endif()
|
||||
|
||||
if( SIZEOF_UINT16 EQUAL 2 )
|
||||
set( USIZE16 "uint16_t" )
|
||||
elseif( SIZEOF_SHORT EQUAL 2 )
|
||||
set( USIZE16 "unsigned short" )
|
||||
elseif( SIZEOF_INT EQUAL 2 )
|
||||
set( USIZE16 "unsigned int" )
|
||||
elseif( SIZEOF_U_INT EQUAL 2 )
|
||||
set( USIZE16 "u_int16_t" )
|
||||
else()
|
||||
message( FATAL_ERROR "No unsigned 16 bit type found on this platform!" )
|
||||
endif()
|
||||
|
||||
if( SIZEOF_INT32 EQUAL 4 )
|
||||
set( SIZE32 "int32_t" )
|
||||
elseif( SIZEOF_SHORT EQUAL 4 )
|
||||
set( SIZE32 "short" )
|
||||
elseif( SIZEOF_INT EQUAL 4 )
|
||||
set( SIZE32 "int" )
|
||||
elseif( SIZEOF_LONG EQUAL 4 )
|
||||
set( SIZE16 "long" )
|
||||
else()
|
||||
message( FATAL_ERROR "No 32 bit type found on this platform!" )
|
||||
endif()
|
||||
|
||||
if( SIZEOF_UINT32 EQUAL 4 )
|
||||
set( USIZE32 "uint32_t" )
|
||||
elseif( SIZEOF_SHORT EQUAL 4 )
|
||||
set( USIZE32 "unsigned short" )
|
||||
elseif( SIZEOF_INT EQUAL 4 )
|
||||
set( USIZE32 "unsigned int" )
|
||||
elseif( SIZEOF_LONG EQUAL 4 )
|
||||
set( USIZE32 "unsigned long" )
|
||||
elseif( SIZEOF_U_INT EQUAL 4 )
|
||||
set( USIZE32 "u_int32_t" )
|
||||
else()
|
||||
message( FATAL_ERROR "No unsigned 32 bit type found on this platform!" )
|
||||
endif()
|
||||
|
||||
if( SIZEOF_INT64 EQUAL 8 )
|
||||
set( SIZE64 "int64_t" )
|
||||
elseif( SIZEOF_INT EQUAL 8 )
|
||||
set( SIZE64 "int" )
|
||||
elseif( SIZEOF_LONG EQUAL 8 )
|
||||
set( SIZE64 "long" )
|
||||
elseif( SIZEOF_LONG_LONG EQUAL 8 )
|
||||
set( SIZE64 "long long" )
|
||||
else()
|
||||
message( FATAL_ERROR "No 64 bit type found on this platform!" )
|
||||
endif()
|
||||
|
||||
set( INCLUDE_INTTYPES_H ${HAVE_INTTYPES_H} )
|
||||
set( INCLUDE_STDINT_H ${HAVE_STDINT_H} )
|
||||
set( INCLUDE_SYS_TYPES_H ${HAVE_SYS_TYPES_H} )
|
||||
|
||||
configure_file( config_types.h.in public/ogg/config_types.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
#ifndef __CONFIG_TYPES_H__
|
||||
#define __CONFIG_TYPES_H__
|
||||
|
||||
/* these are filled in by configure */
|
||||
#define INCLUDE_INTTYPES_H @INCLUDE_INTTYPES_H@
|
||||
#define INCLUDE_STDINT_H @INCLUDE_STDINT_H@
|
||||
#define INCLUDE_SYS_TYPES_H @INCLUDE_SYS_TYPES_H@
|
||||
|
||||
#if INCLUDE_INTTYPES_H
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
#if INCLUDE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
#if INCLUDE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
typedef @SIZE16@ ogg_int16_t;
|
||||
typedef @USIZE16@ ogg_uint16_t;
|
||||
typedef @SIZE32@ ogg_int32_t;
|
||||
typedef @USIZE32@ ogg_uint32_t;
|
||||
typedef @SIZE64@ ogg_int64_t;
|
||||
|
||||
#endif
|
||||
@@ -1,48 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/buffer.cpp
|
||||
${TARGET_ROOT}/src/dBTable.cpp
|
||||
${TARGET_ROOT}/src/fft.cpp
|
||||
${TARGET_ROOT}/src/grain.cpp
|
||||
${TARGET_ROOT}/src/resample.cpp
|
||||
${TARGET_ROOT}/src/sbsms.cpp
|
||||
${TARGET_ROOT}/src/slide.cpp
|
||||
${TARGET_ROOT}/src/sms.cpp
|
||||
${TARGET_ROOT}/src/subband.cpp
|
||||
${TARGET_ROOT}/src/track.cpp
|
||||
${TARGET_ROOT}/src/trackpoint.cpp
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-enum-compare>
|
||||
${MMX_FLAG}
|
||||
${SSE_FLAG}
|
||||
)
|
||||
|
||||
find_package( Threads )
|
||||
if( Threads_FOUND AND CMAKE_USE_PTHREADS_INIT )
|
||||
set( MULTITHREADED 1 )
|
||||
endif()
|
||||
|
||||
set( ENABLE_SSE ${HAVE_SSE} )
|
||||
|
||||
configure_file( config.h.in private/config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
/* src/config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to enable sse */
|
||||
#cmakedefine ENABLE_SSE 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define if you have C99's lrint function. */
|
||||
#cmakedefine HAVE_LRINT 1
|
||||
|
||||
/* Define if you have C99's lrintf function. */
|
||||
#cmakedefine HAVE_LRINTF 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@"
|
||||
|
||||
/* Define to compile multithreaded sbsms */
|
||||
#cmakedefine MULTITHREADED 1
|
||||
|
||||
/* Name of package */
|
||||
#cmakedefine PACKAGE "@PACKAGE@"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/audioreader.cpp
|
||||
${TARGET_ROOT}/comp_chroma.cpp
|
||||
${TARGET_ROOT}/curvefit.cpp
|
||||
${TARGET_ROOT}/gen_chroma.cpp
|
||||
${TARGET_ROOT}/hillclimb.cpp
|
||||
${TARGET_ROOT}/regression.cpp
|
||||
${TARGET_ROOT}/sautils.cpp
|
||||
${TARGET_ROOT}/scorealign.cpp
|
||||
${TARGET_ROOT}/fft3/FFT3.cpp
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PUBLIC
|
||||
${TARGET_ROOT}
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||
|
||||
@@ -1,202 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/ALAC/ALACBitUtilities.c
|
||||
${TARGET_ROOT}/src/ALAC/ag_dec.c
|
||||
${TARGET_ROOT}/src/ALAC/ag_enc.c
|
||||
${TARGET_ROOT}/src/ALAC/alac_decoder.c
|
||||
${TARGET_ROOT}/src/ALAC/alac_encoder.c
|
||||
${TARGET_ROOT}/src/ALAC/dp_dec.c
|
||||
${TARGET_ROOT}/src/ALAC/dp_enc.c
|
||||
${TARGET_ROOT}/src/ALAC/matrix_dec.c
|
||||
${TARGET_ROOT}/src/ALAC/matrix_enc.c
|
||||
${TARGET_ROOT}/src/G72x/g721.c
|
||||
${TARGET_ROOT}/src/G72x/g723_16.c
|
||||
${TARGET_ROOT}/src/G72x/g723_24.c
|
||||
${TARGET_ROOT}/src/G72x/g723_40.c
|
||||
${TARGET_ROOT}/src/G72x/g72x.c
|
||||
${TARGET_ROOT}/src/GSM610/add.c
|
||||
${TARGET_ROOT}/src/GSM610/code.c
|
||||
${TARGET_ROOT}/src/GSM610/decode.c
|
||||
${TARGET_ROOT}/src/GSM610/gsm_create.c
|
||||
${TARGET_ROOT}/src/GSM610/gsm_decode.c
|
||||
${TARGET_ROOT}/src/GSM610/gsm_destroy.c
|
||||
${TARGET_ROOT}/src/GSM610/gsm_encode.c
|
||||
${TARGET_ROOT}/src/GSM610/gsm_option.c
|
||||
${TARGET_ROOT}/src/GSM610/long_term.c
|
||||
${TARGET_ROOT}/src/GSM610/lpc.c
|
||||
${TARGET_ROOT}/src/GSM610/preprocess.c
|
||||
${TARGET_ROOT}/src/GSM610/rpe.c
|
||||
${TARGET_ROOT}/src/GSM610/short_term.c
|
||||
${TARGET_ROOT}/src/GSM610/table.c
|
||||
${TARGET_ROOT}/src/aiff.c
|
||||
${TARGET_ROOT}/src/alac.c
|
||||
${TARGET_ROOT}/src/alaw.c
|
||||
${TARGET_ROOT}/src/au.c
|
||||
${TARGET_ROOT}/src/audio_detect.c
|
||||
${TARGET_ROOT}/src/avr.c
|
||||
${TARGET_ROOT}/src/broadcast.c
|
||||
${TARGET_ROOT}/src/caf.c
|
||||
${TARGET_ROOT}/src/cart.c
|
||||
${TARGET_ROOT}/src/chanmap.c
|
||||
${TARGET_ROOT}/src/chunk.c
|
||||
${TARGET_ROOT}/src/command.c
|
||||
${TARGET_ROOT}/src/common.c
|
||||
${TARGET_ROOT}/src/dither.c
|
||||
${TARGET_ROOT}/src/double64.c
|
||||
${TARGET_ROOT}/src/dwd.c
|
||||
${TARGET_ROOT}/src/dwvw.c
|
||||
${TARGET_ROOT}/src/file_io.c
|
||||
${TARGET_ROOT}/src/flac.c
|
||||
${TARGET_ROOT}/src/float32.c
|
||||
${TARGET_ROOT}/src/g72x.c
|
||||
${TARGET_ROOT}/src/gsm610.c
|
||||
${TARGET_ROOT}/src/htk.c
|
||||
${TARGET_ROOT}/src/id3.c
|
||||
${TARGET_ROOT}/src/ima_adpcm.c
|
||||
${TARGET_ROOT}/src/ima_oki_adpcm.c
|
||||
${TARGET_ROOT}/src/interleave.c
|
||||
${TARGET_ROOT}/src/ircam.c
|
||||
${TARGET_ROOT}/src/macos.c
|
||||
${TARGET_ROOT}/src/mat4.c
|
||||
${TARGET_ROOT}/src/mat5.c
|
||||
${TARGET_ROOT}/src/mpc2k.c
|
||||
${TARGET_ROOT}/src/ms_adpcm.c
|
||||
${TARGET_ROOT}/src/nist.c
|
||||
${TARGET_ROOT}/src/nms_adpcm.c
|
||||
${TARGET_ROOT}/src/ogg.c
|
||||
${TARGET_ROOT}/src/ogg_opus.c
|
||||
${TARGET_ROOT}/src/ogg_pcm.c
|
||||
${TARGET_ROOT}/src/ogg_speex.c
|
||||
${TARGET_ROOT}/src/ogg_vcomment.c
|
||||
${TARGET_ROOT}/src/ogg_vorbis.c
|
||||
${TARGET_ROOT}/src/paf.c
|
||||
${TARGET_ROOT}/src/pcm.c
|
||||
${TARGET_ROOT}/src/pvf.c
|
||||
${TARGET_ROOT}/src/raw.c
|
||||
${TARGET_ROOT}/src/rf64.c
|
||||
${TARGET_ROOT}/src/rx2.c
|
||||
${TARGET_ROOT}/src/sd2.c
|
||||
${TARGET_ROOT}/src/sds.c
|
||||
${TARGET_ROOT}/src/sndfile.c
|
||||
${TARGET_ROOT}/src/strings.c
|
||||
${TARGET_ROOT}/src/svx.c
|
||||
${TARGET_ROOT}/src/txw.c
|
||||
${TARGET_ROOT}/src/ulaw.c
|
||||
${TARGET_ROOT}/src/voc.c
|
||||
${TARGET_ROOT}/src/vox_adpcm.c
|
||||
${TARGET_ROOT}/src/w64.c
|
||||
${TARGET_ROOT}/src/wav.c
|
||||
${TARGET_ROOT}/src/wavlike.c
|
||||
${TARGET_ROOT}/src/wve.c
|
||||
${TARGET_ROOT}/src/xi.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
${TARGET_ROOT}/src
|
||||
PUBLIC
|
||||
${_PUBDIR}
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
inline=__inline
|
||||
LIBSNDFILE_PRIVATE_CONFIG
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
$<$<C_COMPILER_ID:MSVC>:/wd4996>
|
||||
$<$<C_COMPILER_ID:AppleClang>:-Wno-implicit-function-declaration>
|
||||
)
|
||||
|
||||
if( CMAKE_C_COMPILER_ID MATCHES "MSVC" )
|
||||
cmake_push_check_state( RESET )
|
||||
set( CMAKE_EXTRA_INCLUDE_FILES "BaseTsd.h" )
|
||||
check_type_size( "SSIZE_T" SIZEOF_SSIZE_T LANGUAGE C )
|
||||
cmake_pop_check_state()
|
||||
|
||||
if( HAVE_SIZEOF_SSIZE_T )
|
||||
list( APPEND DEFINES ssize_t=SSIZE_T )
|
||||
endif()
|
||||
else()
|
||||
check_type_size( "ssize_t" SIZEOF_SSIZE_T LANGUAGE C )
|
||||
endif()
|
||||
|
||||
if( HAVE_SIZEOF_SSIZE_T )
|
||||
set( HAVE_SSIZE_T YES )
|
||||
endif()
|
||||
|
||||
set( TYPEOF_SF_COUNT_T "int64_t" )
|
||||
check_type_size( "${TYPEOF_SF_COUNT_T}" SIZEOF_SF_COUNT_T LANGUAGE C )
|
||||
set( SF_COUNT_MAX "0x7FFFFFFFFFFFFFFFLL" )
|
||||
|
||||
configure_file( ${TARGET_ROOT}/src/sndfile.h.in ${_PUBDIR}/sndfile.h )
|
||||
|
||||
check_symbol_exists( S_IRGRP "sys/stat.h" HAVE_DECL_S_IRGRP )
|
||||
|
||||
set( COMPILER_IS_GCC OFF )
|
||||
if( CMAKE_C_COMPILER_ID MATCHES "GNU|.*Clang" )
|
||||
set( COMPILER_IS_GCC ON )
|
||||
endif()
|
||||
|
||||
set( OS_IS_MACOSX OFF)
|
||||
if( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
|
||||
set( OS_IS_MACOSX ON )
|
||||
endif()
|
||||
|
||||
set( OS_IS_WIN32 OFF )
|
||||
set( USE_WINDOWS_API OFF )
|
||||
if( CMAKE_SYSTEM_NAME MATCHES "Windows" )
|
||||
set( OS_IS_MACOSX ON )
|
||||
set( USE_WINDOWS_API ON )
|
||||
endif()
|
||||
|
||||
set( CPU_IS_BIG_ENDIAN ${WORDS_BIGENDIAN} )
|
||||
set( CPU_IS_LITTLE_ENDIAN !${WORDS_BIGENDIAN} )
|
||||
set( HAVE_EXTERNAL_LIBS 0 )
|
||||
|
||||
set( VERSION "1.0.24" )
|
||||
set( PACKAGE "libsndfile" )
|
||||
set( PACKAGE_NAME ${PACKAGE} )
|
||||
set( PACKAGE_VERSION ${VERSION} )
|
||||
|
||||
# Does compiler support "flexible array members"
|
||||
try_compile( HAVE_FLEXIBLE_ARRAY
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${_SRCDIR}/famcheck.c
|
||||
LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}
|
||||
OUTPUT_VARIABLE c_out
|
||||
)
|
||||
|
||||
# Determine how the CPU clips when doing float to int conversions
|
||||
try_run( r_rc c_rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${_SRCDIR}/clipcheck.c
|
||||
LINK_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES}
|
||||
RUN_OUTPUT_VARIABLE r_out
|
||||
COMPILE_OUTPUT_VARIABLE c_out
|
||||
)
|
||||
|
||||
if( NOT c_rc )
|
||||
message( STATUS "${c_out}" )
|
||||
message( FATAL_ERROR "${_SRCDIR}/clipcheck.c compile failed:" )
|
||||
endif()
|
||||
|
||||
list( GET r_out 0 CPU_CLIPS_POSITIVE )
|
||||
list( GET r_out 1 CPU_CLIPS_NEGATIVE )
|
||||
|
||||
configure_file( ${TARGET_ROOT}/src/config.h.cmake ${_PRVDIR}/config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
#define _ISOC9X_SOURCE 1
|
||||
#define _ISOC99_SOURCE 1
|
||||
#define __USE_ISOC99 1
|
||||
#define __USE_ISOC9X 1
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
int main (void)
|
||||
{
|
||||
double fval ;
|
||||
int k, ival ;
|
||||
int pos = 0 ;
|
||||
int neg = 0 ;
|
||||
|
||||
fval = 1.0 * 0x7FFFFFFF ;
|
||||
for (k = 0 ; k < 100 ; k++)
|
||||
{
|
||||
ival = (lrint (fval)) >> 24 ;
|
||||
if (ival != 127)
|
||||
{
|
||||
pos = 1 ;
|
||||
break ;
|
||||
}
|
||||
|
||||
fval *= 1.2499999 ;
|
||||
}
|
||||
|
||||
fval = -8.0 * 0x10000000 ;
|
||||
for (k = 0 ; k < 100 ; k++)
|
||||
{
|
||||
ival = (lrint (fval)) >> 24 ;
|
||||
if (ival != -128)
|
||||
{
|
||||
neg = 1 ;
|
||||
break ;
|
||||
}
|
||||
|
||||
fval *= 1.2499999 ;
|
||||
}
|
||||
|
||||
printf("%d;%d", pos, neg) ;
|
||||
|
||||
return 0 ;
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#include <stdlib.h>
|
||||
typedef struct
|
||||
{
|
||||
int k;
|
||||
char buffer [];
|
||||
} MY_STRUCT;
|
||||
int main(void)
|
||||
{
|
||||
MY_STRUCT *p = calloc (1, sizeof (MY_STRUCT) + 42);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
set(CMAKE_MODULE_PATH ${TARGET_ROOT}/cmake/Modules )
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/cr.c
|
||||
${TARGET_ROOT}/src/cr32.c
|
||||
${TARGET_ROOT}/src/cr32s.c
|
||||
${TARGET_ROOT}/src/cr64.c
|
||||
${TARGET_ROOT}/src/data-io.c
|
||||
${TARGET_ROOT}/src/dbesi0.c
|
||||
${TARGET_ROOT}/src/fft4g.c
|
||||
${TARGET_ROOT}/src/fft4g32.c
|
||||
${TARGET_ROOT}/src/fft4g64.c
|
||||
${TARGET_ROOT}/src/filter.c
|
||||
${TARGET_ROOT}/src/pffft32s.c
|
||||
${TARGET_ROOT}/src/soxr.c
|
||||
${TARGET_ROOT}/src/util32s.c
|
||||
${TARGET_ROOT}/src/vr32.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/src
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
_USE_MATH_DEFINES
|
||||
_CRT_SECURE_NO_WARNINGS
|
||||
SOXR_LIB
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:
|
||||
-Wconversion
|
||||
-Wall
|
||||
-Wextra
|
||||
-pedantic
|
||||
-Wundef
|
||||
-Wpointer-arith
|
||||
-Wno-long-long
|
||||
-Wnested-externs
|
||||
-Wmissing-prototypes
|
||||
-Wstrict-prototypes
|
||||
>
|
||||
$<$<C_COMPILER_ID:AppleClang,Clang>:-Wno-keyword-macro>
|
||||
)
|
||||
|
||||
set( HAVE_BIGENDIAN ${WORDS_BIGENDIAN} )
|
||||
|
||||
set( AVCODEC_FOUND NO )
|
||||
set( AVUTIL_FOUND NO )
|
||||
set( WITH_PFFFT YES )
|
||||
|
||||
set( WITH_CR32 YES )
|
||||
set( WITH_CR32S NO )
|
||||
set( WITH_CR64 YES )
|
||||
set( WITH_CR64S NO )
|
||||
set( WITH_VR32 YES )
|
||||
|
||||
find_package( SIMD32 )
|
||||
if( SIMD32_FOUND )
|
||||
set( WITH_CR32S YES )
|
||||
string( STRIP "${SIMD32_C_FLAGS}" SIMD32_C_FLAGS )
|
||||
string( REPLACE " " ";" SIMD32_C_FLAGS "${SIMD32_C_FLAGS}" )
|
||||
list( APPEND OPTIONS ${SIMD32_C_FLAGS} )
|
||||
endif()
|
||||
|
||||
# Disabling since we do not want AVX instructions in distribution builds
|
||||
#
|
||||
#find_package( SIMD64 )
|
||||
#if( SIMD64_FOUND )
|
||||
# set( WITH_CR64S ON )
|
||||
# string( STRIP ${SIMD64_C_FLAGS} SIMD64_C_FLAGS )
|
||||
# list( APPEND OPTIONS ${SIMD64_C_FLAGS} )
|
||||
#endif()
|
||||
|
||||
set( WITH_HI_PREC_CLOCK YES )
|
||||
set( WITH_FLOAT_STD_PREC_CLOCK NO )
|
||||
set( WITH_DEV_TRACE NO )
|
||||
|
||||
configure_file( soxr-config.h.in private/soxr-config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/* SoX Resampler Library Copyright (c) 2007-16 robs@users.sourceforge.net
|
||||
* Licence for this file: LGPL v2.1 See LICENCE for details. */
|
||||
|
||||
#if !defined soxr_config_included
|
||||
#define soxr_config_included
|
||||
|
||||
#cmakedefine01 AVCODEC_FOUND
|
||||
#cmakedefine01 AVUTIL_FOUND
|
||||
#cmakedefine01 WITH_PFFFT
|
||||
|
||||
#cmakedefine01 HAVE_FENV_H
|
||||
#cmakedefine01 HAVE_STDBOOL_H
|
||||
#cmakedefine01 HAVE_STDINT_H
|
||||
#cmakedefine01 HAVE_LRINT
|
||||
#cmakedefine01 HAVE_BIGENDIAN
|
||||
|
||||
#cmakedefine01 WITH_CR32
|
||||
#cmakedefine01 WITH_CR32S
|
||||
#cmakedefine01 WITH_CR64
|
||||
#cmakedefine01 WITH_CR64S
|
||||
#cmakedefine01 WITH_VR32
|
||||
|
||||
#cmakedefine01 WITH_HI_PREC_CLOCK
|
||||
#cmakedefine01 WITH_FLOAT_STD_PREC_CLOCK
|
||||
#cmakedefine01 WITH_DEV_TRACE
|
||||
|
||||
#endif
|
||||
@@ -1,32 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginBufferingAdapter.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginChannelAdapter.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginHostAdapter.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginInputDomainAdapter.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginLoader.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginSummarisingAdapter.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/PluginWrapper.cpp
|
||||
${TARGET_ROOT}/src/vamp-hostsdk/RealTime.cpp
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PUBLIC
|
||||
${TARGET_ROOT}
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
_USE_MATH_DEFINES
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/lib/analysis.c
|
||||
${TARGET_ROOT}/lib/bitrate.c
|
||||
${TARGET_ROOT}/lib/block.c
|
||||
${TARGET_ROOT}/lib/codebook.c
|
||||
${TARGET_ROOT}/lib/envelope.c
|
||||
${TARGET_ROOT}/lib/floor0.c
|
||||
${TARGET_ROOT}/lib/floor1.c
|
||||
${TARGET_ROOT}/lib/info.c
|
||||
${TARGET_ROOT}/lib/lookup.c
|
||||
${TARGET_ROOT}/lib/lpc.c
|
||||
${TARGET_ROOT}/lib/lsp.c
|
||||
${TARGET_ROOT}/lib/mapping0.c
|
||||
${TARGET_ROOT}/lib/mdct.c
|
||||
${TARGET_ROOT}/lib/psy.c
|
||||
${TARGET_ROOT}/lib/registry.c
|
||||
${TARGET_ROOT}/lib/res0.c
|
||||
${TARGET_ROOT}/lib/sharedbook.c
|
||||
${TARGET_ROOT}/lib/smallft.c
|
||||
${TARGET_ROOT}/lib/synthesis.c
|
||||
${TARGET_ROOT}/lib/vorbisenc.c
|
||||
${TARGET_ROOT}/lib/vorbisfile.c
|
||||
${TARGET_ROOT}/lib/window.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
${TARGET_ROOT}/lib
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
HAVE_CONFIG_H
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
PRIVATE
|
||||
libogg
|
||||
)
|
||||
|
||||
configure_file( config.h.in private/config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||
systems. This function is required for `alloca.c' support on those systems.
|
||||
*/
|
||||
#cmakedefine CRAY_STACKSEG_END 1
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#cmakedefine C_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||
#cmakedefine HAVE_ALLOCA 1
|
||||
|
||||
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||
*/
|
||||
#cmakedefine HAVE_ALLOCA_H 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#cmakedefine LT_OBJDIR "@LT_OBDIR@"
|
||||
|
||||
/* Name of package */
|
||||
#cmakedefine PACKAGE "@PACKAGE@"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
|
||||
|
||||
/* If using the C implementation of alloca, define if you know the
|
||||
direction of stack growth for your system; otherwise it will be
|
||||
automatically deduced at runtime.
|
||||
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||
#cmakedefine STACK_DIRECTION 1
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#cmakedefine inline @inline@
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
#cmakedefine size_t @size_t@
|
||||
@@ -1,255 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
|
||||
# lilv
|
||||
|
||||
${TARGET_ROOT}/lilv/src/collections.c
|
||||
${TARGET_ROOT}/lilv/src/instance.c
|
||||
${TARGET_ROOT}/lilv/src/lib.c
|
||||
${TARGET_ROOT}/lilv/src/node.c
|
||||
${TARGET_ROOT}/lilv/src/plugin.c
|
||||
${TARGET_ROOT}/lilv/src/pluginclass.c
|
||||
${TARGET_ROOT}/lilv/src/port.c
|
||||
${TARGET_ROOT}/lilv/src/query.c
|
||||
${TARGET_ROOT}/lilv/src/scalepoint.c
|
||||
${TARGET_ROOT}/lilv/src/state.c
|
||||
${TARGET_ROOT}/lilv/src/ui.c
|
||||
${TARGET_ROOT}/lilv/src/util.c
|
||||
${TARGET_ROOT}/lilv/src/world.c
|
||||
${TARGET_ROOT}/lilv/src/zix/tree.c
|
||||
|
||||
# serd
|
||||
|
||||
${TARGET_ROOT}/serd/src/byte_source.c
|
||||
${TARGET_ROOT}/serd/src/env.c
|
||||
${TARGET_ROOT}/serd/src/n3.c
|
||||
${TARGET_ROOT}/serd/src/node.c
|
||||
${TARGET_ROOT}/serd/src/reader.c
|
||||
${TARGET_ROOT}/serd/src/string.c
|
||||
${TARGET_ROOT}/serd/src/uri.c
|
||||
${TARGET_ROOT}/serd/src/writer.c
|
||||
|
||||
# sord
|
||||
|
||||
${TARGET_ROOT}/sord/src/sord.c
|
||||
${TARGET_ROOT}/sord/src/syntax.c
|
||||
${TARGET_ROOT}/sord/src/zix/btree.c
|
||||
${TARGET_ROOT}/sord/src/zix/digest.c
|
||||
${TARGET_ROOT}/sord/src/zix/hash.c
|
||||
|
||||
# sratom
|
||||
|
||||
${TARGET_ROOT}/sratom/src/sratom.c
|
||||
|
||||
# suil
|
||||
|
||||
${TARGET_ROOT}/suil/src/host.c
|
||||
${TARGET_ROOT}/suil/src/instance.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
${TARGET_ROOT}/lilv/src
|
||||
${TARGET_ROOT}/lilv/src/zix
|
||||
${TARGET_ROOT}/serd/src
|
||||
${TARGET_ROOT}/sord/src
|
||||
${TARGET_ROOT}/sord/src/zix
|
||||
${TARGET_ROOT}/sratom/src
|
||||
${TARGET_ROOT}/suil/src
|
||||
PUBLIC
|
||||
${_PUBDIR}
|
||||
${TARGET_ROOT}/lv2
|
||||
${TARGET_ROOT}/lilv
|
||||
${TARGET_ROOT}/serd
|
||||
${TARGET_ROOT}/sord
|
||||
${TARGET_ROOT}/sratom
|
||||
${TARGET_ROOT}/suil
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
SUIL_INTERNAL
|
||||
)
|
||||
|
||||
list( APPEND HEADERS
|
||||
|
||||
# lv2
|
||||
|
||||
${TARGET_ROOT}/lv2/lv2/atom/atom.h
|
||||
${TARGET_ROOT}/lv2/lv2/atom/forge.h
|
||||
${TARGET_ROOT}/lv2/lv2/atom/util.h
|
||||
${TARGET_ROOT}/lv2/lv2/buf-size/buf-size.h
|
||||
${TARGET_ROOT}/lv2/lv2/core/attributes.h
|
||||
${TARGET_ROOT}/lv2/lv2/core/lv2.h
|
||||
${TARGET_ROOT}/lv2/lv2/core/lv2_util.h
|
||||
${TARGET_ROOT}/lv2/lv2/data-access/data-access.h
|
||||
${TARGET_ROOT}/lv2/lv2/dynmanifest/dynmanifest.h
|
||||
${TARGET_ROOT}/lv2/lv2/event/event-helpers.h
|
||||
${TARGET_ROOT}/lv2/lv2/event/event.h
|
||||
${TARGET_ROOT}/lv2/lv2/instance-access/instance-access.h
|
||||
${TARGET_ROOT}/lv2/lv2/log/log.h
|
||||
${TARGET_ROOT}/lv2/lv2/log/logger.h
|
||||
${TARGET_ROOT}/lv2/lv2/midi/midi.h
|
||||
${TARGET_ROOT}/lv2/lv2/morph/morph.h
|
||||
${TARGET_ROOT}/lv2/lv2/options/options.h
|
||||
${TARGET_ROOT}/lv2/lv2/parameters/parameters.h
|
||||
${TARGET_ROOT}/lv2/lv2/patch/patch.h
|
||||
${TARGET_ROOT}/lv2/lv2/port-groups/port-groups.h
|
||||
${TARGET_ROOT}/lv2/lv2/port-props/port-props.h
|
||||
${TARGET_ROOT}/lv2/lv2/presets/presets.h
|
||||
${TARGET_ROOT}/lv2/lv2/resize-port/resize-port.h
|
||||
${TARGET_ROOT}/lv2/lv2/state/state.h
|
||||
${TARGET_ROOT}/lv2/lv2/time/time.h
|
||||
${TARGET_ROOT}/lv2/lv2/ui/ui.h
|
||||
${TARGET_ROOT}/lv2/lv2/units/units.h
|
||||
${TARGET_ROOT}/lv2/lv2/uri-map/uri-map.h
|
||||
${TARGET_ROOT}/lv2/lv2/urid/urid.h
|
||||
${TARGET_ROOT}/lv2/lv2/worker/worker.h
|
||||
)
|
||||
|
||||
set( src "${TARGET_ROOT}/lv2" )
|
||||
set( dst "${_PUBDIR}" )
|
||||
set( ns "${dst}/lv2/lv2plug.in/ns" )
|
||||
set( stamp "${_INTDIR}/.stamp.lv2" )
|
||||
|
||||
# Simulate the older directory structure (trailing "/" is important)
|
||||
file( MAKE_DIRECTORY "${ns}" )
|
||||
file( COPY "${src}/lv2/core/lv2.h" DESTINATION "${dst}" )
|
||||
file( COPY "${src}/lv2/" DESTINATION "${ns}/ext" )
|
||||
file( COPY "${src}/lv2/" DESTINATION "${ns}/extensions" )
|
||||
file( COPY "${src}/lv2/core/" DESTINATION "${ns}/lv2core" )
|
||||
|
||||
set( LILV_VERSION "0.24.4" )
|
||||
set( SERD_VERSION "0.30.2" )
|
||||
set( SORD_VERSION "0.16.4" )
|
||||
set( SRATOM_VERSION "0.6.4" )
|
||||
set( SUIL_VERSION "0.10.6" )
|
||||
|
||||
set( HAVE_LV2 1 )
|
||||
set( HAVE_SERD 1 )
|
||||
set( HAVE_SORD 1 )
|
||||
set( HAVE_SRATOM 1 )
|
||||
|
||||
macro( bld name packages define sources )
|
||||
set( libs )
|
||||
set( missing )
|
||||
set( lib "${SUIL_MODULE_PREFIX}${name}" )
|
||||
foreach( pkg ${packages} )
|
||||
if( NOT "${${pkg}_FOUND}" )
|
||||
set( missing ON )
|
||||
break()
|
||||
endif()
|
||||
|
||||
list( APPEND libs
|
||||
PRIVATE
|
||||
"PkgConfig::${pkg}"
|
||||
)
|
||||
endforeach()
|
||||
|
||||
if( NOT missing )
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
${define}
|
||||
)
|
||||
|
||||
add_library( ${lib} MODULE "${sources}" )
|
||||
add_dependencies( ${TARGET} ${lib} )
|
||||
|
||||
set_target_properties( ${lib}
|
||||
PROPERTIES
|
||||
LIBRARY_OUTPUT_DIRECTORY "${_DEST}/${_PKGLIB}"
|
||||
PREFIX ""
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${sources}" )
|
||||
target_compile_definitions( ${lib} PRIVATE SUIL_SHARED ${DEFINES} )
|
||||
target_include_directories( ${lib} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${lib} PRIVATE ${libs} )
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
if( WIN32 )
|
||||
set( LILV_PATH_SEP ";" )
|
||||
set( LILV_DIR_SEP "\\\\" )
|
||||
set( LILV_DEFAULT_LV2_PATH "%APPDATA%\\\\LV2;%COMMONPROGRAMFILES%\\\\LV2" )
|
||||
|
||||
set( SUIL_MODULE_DIR "" )
|
||||
set( SUIL_DIR_SEP "" )
|
||||
set( SUIL_GTK2_LIB_NAME "libgtk-x11-2.0.so.0" )
|
||||
set( SUIL_GTK3_LIB_NAME "libgtk-x11-3.0.so.0" )
|
||||
set( SUIL_MODULE_PREFIX "" )
|
||||
set( SUIL_MODULE_EXT ".dll" )
|
||||
elseif( APPLE )
|
||||
set( LILV_PATH_SEP ":" )
|
||||
set( LILV_DIR_SEP "/" )
|
||||
set( LILV_DEFAULT_LV2_PATH "~/Library/Audio/Plug-Ins/LV2:~/.lv2:/usr/local/lib/lv2:/usr/lib/lv2:/Library/Audio/Plug-Ins/LV2" )
|
||||
|
||||
set( SUIL_MODULE_DIR "" )
|
||||
set( SUIL_DIR_SEP "" )
|
||||
set( SUIL_GTK2_LIB_NAME "libgtk-x11-2.0.so.0" )
|
||||
set( SUIL_GTK3_LIB_NAME "libgtk-x11-3.0.so.0" )
|
||||
set( SUIL_MODULE_PREFIX "lib" )
|
||||
set( SUIL_MODULE_EXT ".dylib" )
|
||||
elseif( UNIX )
|
||||
set( LILV_PATH_SEP ":" )
|
||||
set( LILV_DIR_SEP "/" )
|
||||
set( LILV_DEFAULT_LV2_PATH "~/.lv2:/usr/lib/lv2:/usr/local/lib/lv2" )
|
||||
|
||||
set( SUIL_MODULE_DIR "" )
|
||||
set( SUIL_DIR_SEP "" )
|
||||
set( SUIL_GTK2_LIB_NAME "libgtk-x11-2.0.so.0" )
|
||||
set( SUIL_GTK3_LIB_NAME "libgtk-x11-3.0.so.0" )
|
||||
set( SUIL_MODULE_PREFIX "lib" )
|
||||
set( SUIL_MODULE_EXT ".so" )
|
||||
|
||||
pkg_check_modules( X11 IMPORTED_TARGET "x11" )
|
||||
pkg_check_modules( GTK2 IMPORTED_TARGET "gtk+-2.0" )
|
||||
pkg_check_modules( GTK3 IMPORTED_TARGET "gtk+-3.0" )
|
||||
pkg_check_modules( GTK2X11 IMPORTED_TARGET "gtk+-x11-2.0" )
|
||||
pkg_check_modules( GTK3X11 IMPORTED_TARGET "gtk+-x11-3.0" )
|
||||
pkg_check_modules( QT4 IMPORTED_TARGET "QtGui >= 4.4.0" )
|
||||
pkg_check_modules( QT5 IMPORTED_TARGET "Qt5Widgets >= 5.1.0" )
|
||||
|
||||
bld( "suil_x11"
|
||||
"X11"
|
||||
"SUIL_WITH_X11"
|
||||
"${TARGET_ROOT}/suil/src/x11.c" )
|
||||
bld( "suil_x11_in_gtk2"
|
||||
"X11;GTK2X11"
|
||||
"SUIL_WITH_X11_IN_GTK2"
|
||||
"${TARGET_ROOT}/suil/src/x11_in_gtk2.c" )
|
||||
bld( "suil_x11_in_gtk3"
|
||||
"X11;GTK3X11"
|
||||
"SUIL_WITH_X11_IN_GTK3"
|
||||
"${TARGET_ROOT}/suil/src/x11_in_gtk3.c" )
|
||||
bld( "suil_qt4_in_gtk2"
|
||||
"QT4;GTK2"
|
||||
"SUIL_WITH_QT4_IN_GTK2"
|
||||
"${TARGET_ROOT}/suil/src/qt4_in_gtk2.cpp" )
|
||||
bld( "suil_qt5_in_gtk2"
|
||||
"QT5;GTK2"
|
||||
"SUIL_WITH_QT5_IN_GTK2"
|
||||
"${TARGET_ROOT}/suil/src/qt5_in_gtk.cpp" )
|
||||
bld( "suil_qt5_in_gtk3"
|
||||
"QT5;GTK3"
|
||||
"SUIL_WITH_QT5_IN_GTK3"
|
||||
"${TARGET_ROOT}/suil/src/qt5_in_gtk.cpp" )
|
||||
endif()
|
||||
|
||||
configure_file( lilv_config.h.in "${_PRVDIR}/lilv_config.h" )
|
||||
configure_file( serd_config.h.in "${_PRVDIR}/serd_config.h" )
|
||||
configure_file( sord_config.h.in "${_PRVDIR}/sord_config.h" )
|
||||
configure_file( sratom_config.h.in "${_PRVDIR}/sratom_config.h" )
|
||||
configure_file( suil_config.h.in "${_PRVDIR}/suil_config.h" )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES} ${HEADERS}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} ${HEADERS} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/* WARNING! All changes made to this file will be lost! */
|
||||
|
||||
#ifndef W_LILV_CONFIG_H_WAF
|
||||
#define W_LILV_CONFIG_H_WAF
|
||||
|
||||
#cmakedefine LILV_CXX 1
|
||||
#define PYTHONDIR "@PYTHONDIR@"
|
||||
#define PYTHONARCHDIR "@PYTHONARCHDIR@"
|
||||
#define LILV_VERSION "@LILV_VERSION@"
|
||||
#cmakedefine HAVE_LV2 1
|
||||
#cmakedefine HAVE_SERD 1
|
||||
#cmakedefine HAVE_SORD 1
|
||||
#cmakedefine HAVE_SRATOM 1
|
||||
#cmakedefine HAVE_SNDFILE 1
|
||||
#cmakedefine HAVE_LSTAT 1
|
||||
#cmakedefine HAVE_FLOCK 1
|
||||
#cmakedefine HAVE_FILENO 1
|
||||
#cmakedefine HAVE_CLOCK_GETTIME 1
|
||||
#cmakedefine HAVE_LIBDL 1
|
||||
#define LILV_PATH_SEP "@LILV_PATH_SEP@"
|
||||
#define LILV_DIR_SEP "@LILV_DIR_SEP@"
|
||||
#define LILV_DEFAULT_LV2_PATH "@LILV_DEFAULT_LV2_PATH@"
|
||||
|
||||
#endif /* W_LILV_CONFIG_H_WAF */
|
||||
@@ -1,12 +0,0 @@
|
||||
/* WARNING! All changes made to this file will be lost! */
|
||||
|
||||
#ifndef W_SERD_CONFIG_H_WAF
|
||||
#define W_SERD_CONFIG_H_WAF
|
||||
|
||||
#cmakedefine HAVE_GCOV 1
|
||||
#define SERD_VERSION "@SERD_VERSION@"
|
||||
#cmakedefine HAVE_FILENO 1
|
||||
#cmakedefine HAVE_POSIX_FADVISE 1
|
||||
#cmakedefine HAVE_POSIX_MEMALIGN 1
|
||||
|
||||
#endif /* W_SERD_CONFIG_H_WAF */
|
||||
@@ -1,11 +0,0 @@
|
||||
/* WARNING! All changes made to this file will be lost! */
|
||||
|
||||
#ifndef W_SORD_CONFIG_H_WAF
|
||||
#define W_SORD_CONFIG_H_WAF
|
||||
|
||||
#cmakedefine HAVE_GCOV 1
|
||||
#define SORD_VERSION "@SORD_VERSION@"
|
||||
#cmakedefine HAVE_SERD 1
|
||||
#cmakedefine HAVE_PCRE 1
|
||||
|
||||
#endif /* W_SORD_CONFIG_H_WAF */
|
||||
@@ -1,11 +0,0 @@
|
||||
/* WARNING! All changes made to this file will be lost! */
|
||||
|
||||
#ifndef W_SRATOM_CONFIG_H_WAF
|
||||
#define W_SRATOM_CONFIG_H_WAF
|
||||
|
||||
#cmakedefine HAVE_LV2 1
|
||||
#cmakedefine HAVE_SERD 1
|
||||
#cmakedefine HAVE_SORD 1
|
||||
#define SRATOM_VERSION "@SRATOM_VERSION@"
|
||||
|
||||
#endif /* W_SRATOM_CONFIG_H_WAF */
|
||||
@@ -1,34 +0,0 @@
|
||||
/* WARNING! All changes made to this file will be lost! */
|
||||
|
||||
#ifndef W_SUIL_CONFIG_H_WAF
|
||||
#define W_SUIL_CONFIG_H_WAF
|
||||
|
||||
#define SUIL_VERSION "@SUIL_VERSION@"
|
||||
#cmakedefine HAVE_LV2 1
|
||||
#cmakedefine HAVE_X11 1
|
||||
#cmakedefine HAVE_GTK2 1
|
||||
#cmakedefine HAVE_GTK2_X11 1
|
||||
#cmakedefine HAVE_GTK3 1
|
||||
#cmakedefine HAVE_GTK3_X11 1
|
||||
#cmakedefine HAVE_QT4 1
|
||||
#cmakedefine HAVE_QT5 1
|
||||
#cmakedefine HAVE_QMACCOCOAVIEWCONTAINER 1
|
||||
#cmakedefine HAVE_LIBDL 1
|
||||
#define SUIL_MODULE_DIR "@SUIL_MODULE_DIR@"
|
||||
#define SUIL_DIR_SEP "@SUIL_DIR_SEP@"
|
||||
#define SUIL_GTK2_LIB_NAME "@SUIL_GTK2_LIB_NAME@"
|
||||
#define SUIL_GTK3_LIB_NAME "@SUIL_GTK3_LIB_NAME@"
|
||||
#define SUIL_MODULE_PREFIX "@SUIL_MODULE_PREFIX@"
|
||||
#define SUIL_MODULE_EXT "@SUIL_MODULE_EXT@"
|
||||
#cmakedefine SUIL_WITH_QT4_IN_GTK2 1
|
||||
#cmakedefine SUIL_WITH_GTK2_IN_QT4 1
|
||||
#cmakedefine SUIL_WITH_GTK2_IN_QT5 1
|
||||
#cmakedefine SUIL_WITH_QT5_IN_GTK2 1
|
||||
#cmakedefine SUIL_WITH_X11_IN_GTK2 1
|
||||
#cmakedefine SUIL_WITH_X11_IN_GTK3 1
|
||||
#cmakedefine SUIL_WITH_QT5_IN_GTK3 1
|
||||
#cmakedefine SUIL_WITH_X11_IN_QT4 1
|
||||
#cmakedefine SUIL_WITH_X11_IN_QT5 1
|
||||
#cmakedefine SUIL_WITH_X11 1
|
||||
|
||||
#endif /* W_SUIL_CONFIG_H_WAF */
|
||||
@@ -1,278 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
set( CMAKE_MODULE_PATH ${TARGET_ROOT}/cmake_support )
|
||||
|
||||
# Define the platform specific interface options
|
||||
if( CMAKE_SYSTEM_NAME MATCHES "Windows" )
|
||||
if(DEFINED ENV{ASIOSDK_DIR} )
|
||||
cmd_option(
|
||||
${_OPT}use_pa_asio
|
||||
"Use the portaudio ASIO interface if available"
|
||||
YES
|
||||
)
|
||||
endif()
|
||||
cmd_option(
|
||||
${_OPT}use_pa_ds
|
||||
"Use the portaudio DirectSound interface if available"
|
||||
YES
|
||||
)
|
||||
cmd_option(
|
||||
${_OPT}use_pa_wasapi
|
||||
"Use the portaudio WASAPI interface if available"
|
||||
YES
|
||||
)
|
||||
cmd_option(
|
||||
${_OPT}use_pa_wmme
|
||||
"Use the portaudio WMME interface if available"
|
||||
YES
|
||||
)
|
||||
else()
|
||||
# Look for OSS if the user wants it
|
||||
cmd_option(
|
||||
${_OPT}use_pa_oss
|
||||
"Use the OSS audio interface if available"
|
||||
YES
|
||||
)
|
||||
|
||||
if( ${_OPT}use_pa_oss )
|
||||
find_path( OSS_INCLUDE NAMES sys/soundcard.h )
|
||||
mark_as_advanced( FORCE OSS_INCLUDE )
|
||||
|
||||
if( OSS_INCLUDE )
|
||||
set( OSS_INCLUDE_DIRS ${OSS_INCLUDE} )
|
||||
endif()
|
||||
|
||||
find_library( OSS_LIBRARY NAMES ossaudio )
|
||||
mark_as_advanced( FORCE OSS_LIBRARY )
|
||||
|
||||
if( OSS_LIBRARY )
|
||||
set( OSS_LIBRARIES ${OSS_LIBRARY} )
|
||||
endif()
|
||||
|
||||
if( NOT OSS_INCLUDE_DIRS )
|
||||
set_cache_value( ${_OPT}use_pa_oss NO )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
|
||||
cmd_option(
|
||||
${_OPT}use_pa_coreaudio
|
||||
"Use the portaudio CoreAudio interface if available"
|
||||
YES
|
||||
)
|
||||
elseif( CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD" )
|
||||
cmd_option(
|
||||
${_OPT}use_pa_alsa
|
||||
"Use the portaudio ALSA interface if available"
|
||||
YES
|
||||
)
|
||||
|
||||
if( ${_OPT}use_pa_alsa )
|
||||
find_package( ALSA )
|
||||
if( NOT ALSA_FOUND )
|
||||
set_cache_value( ${_OPT}use_pa_alsa NO )
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# JACK can be dynamically loaded, linked to, or off
|
||||
cmd_option( ${_OPT}use_pa_jack
|
||||
"Use the JACK audio interface if available [loaded, linked, off]"
|
||||
"linked"
|
||||
STRINGS "loaded" "linked" "off"
|
||||
)
|
||||
|
||||
if( NOT ${_OPT}use_pa_jack STREQUAL "off" )
|
||||
# Find it
|
||||
find_package( Jack )
|
||||
if( NOT JACK_FOUND)
|
||||
set_cache_value( ${_OPT}use_pa_jack "off" )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/common/pa_allocation.c
|
||||
${TARGET_ROOT}/src/common/pa_converters.c
|
||||
${TARGET_ROOT}/src/common/pa_cpuload.c
|
||||
${TARGET_ROOT}/src/common/pa_debugprint.c
|
||||
${TARGET_ROOT}/src/common/pa_dither.c
|
||||
${TARGET_ROOT}/src/common/pa_dynload.c
|
||||
${TARGET_ROOT}/src/common/pa_front.c
|
||||
${TARGET_ROOT}/src/common/pa_process.c
|
||||
${TARGET_ROOT}/src/common/pa_ringbuffer.c
|
||||
${TARGET_ROOT}/src/common/pa_stream.c
|
||||
${TARGET_ROOT}/src/common/pa_trace.c
|
||||
|
||||
$<$<PLATFORM_ID:Windows>:
|
||||
${TARGET_ROOT}/src/os/win/pa_win_coinitialize.c
|
||||
${TARGET_ROOT}/src/os/win/pa_win_hostapis.c
|
||||
${TARGET_ROOT}/src/os/win/pa_win_util.c
|
||||
${TARGET_ROOT}/src/os/win/pa_win_waveformat.c
|
||||
${TARGET_ROOT}/src/os/win/pa_win_wdmks_utils.c
|
||||
$<$<C_COMPILER_ID:MSVC>:
|
||||
${TARGET_ROOT}/src/os/win/pa_x86_plain_converters.c
|
||||
>
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Darwin>:
|
||||
${TARGET_ROOT}/src/hostapi/coreaudio/pa_mac_core.c
|
||||
${TARGET_ROOT}/src/hostapi/coreaudio/pa_mac_core_blocking.c
|
||||
${TARGET_ROOT}/src/hostapi/coreaudio/pa_mac_core_utilities.c
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Darwin,Linux,FreeBSD,CYGWIN>:
|
||||
${TARGET_ROOT}/src/os/unix/pa_unix_hostapis.c
|
||||
${TARGET_ROOT}/src/os/unix/pa_unix_util.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_asio}>:
|
||||
${TARGET_ROOT}/src/hostapi/asio/iasiothiscallresolver.cpp
|
||||
${TARGET_ROOT}/src/hostapi/asio/pa_asio.cpp
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_ds}>:
|
||||
${TARGET_ROOT}/src/hostapi/dsound/pa_win_ds.c
|
||||
${TARGET_ROOT}/src/hostapi/dsound/pa_win_ds_dynlink.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wasapi}>:
|
||||
${TARGET_ROOT}/src/hostapi/wasapi/pa_win_wasapi.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wmme}>:
|
||||
${TARGET_ROOT}/src/hostapi/wmme/pa_win_wmme.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_alsa}>:
|
||||
${TARGET_ROOT}/src/hostapi/alsa/pa_linux_alsa.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_oss}>:
|
||||
${TARGET_ROOT}/src/hostapi/oss/pa_unix_oss.c
|
||||
>
|
||||
|
||||
$<$<NOT:$<STREQUAL:${${_OPT}use_pa_jack},off>>:
|
||||
${TARGET_ROOT}/src/hostapi/jack/pa_jack.c
|
||||
${TARGET_ROOT}/src/hostapi/jack/pa_jack_dynload.c
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND EXTRASRC
|
||||
PRIVATE
|
||||
$<$<BOOL:${${_OPT}use_pa_asio}>:
|
||||
$ENV{ASIOSDK_DIR}/common/asio.cpp
|
||||
$ENV{ASIOSDK_DIR}/host/asiodrivers.cpp
|
||||
$ENV{ASIOSDK_DIR}/host/pc/asiolist.cpp
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/common
|
||||
|
||||
$<$<PLATFORM_ID:Windows>:
|
||||
${TARGET_ROOT}/src/os/win
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Darwin,Linux,FreeBSD,CYGWIN>:
|
||||
${TARGET_ROOT}/src/os/unix
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_asio}>:
|
||||
${TARGET_ROOT}/src/hostapi/asio
|
||||
$ENV{ASIOSDK_DIR}/common
|
||||
$ENV{ASIOSDK_DIR}/host
|
||||
$ENV{ASIOSDK_DIR}/host/pc
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_ds}>:
|
||||
${TARGET_ROOT}/src/hostapi/dsound
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_coreaudio}>:
|
||||
${TARGET_ROOT}/src/hostapi/coreaudio
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_alsa}>:
|
||||
${ALSA_INCLUDE_DIRS}
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_oss}>:
|
||||
${OSS_INCLUDE_DIRS}
|
||||
>
|
||||
|
||||
$<$<NOT:$<STREQUAL:${${_OPT}use_pa_jack},off>>:
|
||||
${TARGET_ROOT}/src/hostapi/jack
|
||||
${JACK_INCLUDE_DIRS}
|
||||
>
|
||||
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PUBLIC
|
||||
$<$<BOOL:${${_OPT}use_pa_asio}>:
|
||||
PA_USE_ASIO=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_ds}>:
|
||||
PA_USE_DS=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wasapi}>:
|
||||
PA_USE_WASAPI=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wmme}>:
|
||||
PA_USE_WMME=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_coreaudio}>:
|
||||
PA_USE_COREAUDIO=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_alsa}>:
|
||||
PA_USE_ALSA=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_oss}>:
|
||||
PA_USE_OSS=1
|
||||
HAVE_SYS_SOUNDCARD_H=1
|
||||
>
|
||||
|
||||
$<$<NOT:$<STREQUAL:${${_OPT}use_pa_jack},off>>:
|
||||
PA_USE_JACK=1
|
||||
>
|
||||
|
||||
$<$<STREQUAL:${${_OPT}use_pa_jack},dynamic>:
|
||||
PA_DYNAMIC_JACK=1
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
INTERFACE
|
||||
$<$<BOOL:${${_OPT}use_pa_alsa}>:
|
||||
${ALSA_LIBRARIES}
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_oss}>:
|
||||
${OSS_LIBRARIES}
|
||||
>
|
||||
|
||||
$<$<NOT:$<STREQUAL:${${_OPT}use_pa_jack},off>>:
|
||||
${JACK_LIBRARIES}
|
||||
>
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} ${EXTRASRC} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#directory cmake-proxies/portburn
|
||||
set( TARGET portburn )
|
||||
set( TARGET_SOURCE ${LIB_SRC_DIRECTORY}${TARGET} )
|
||||
project( ${TARGET} )
|
||||
|
||||
set( SOURCES
|
||||
${LIB_SRC_DIRECTORY}portburn/portburn_macosx.cpp
|
||||
${LIB_SRC_DIRECTORY}portburn/portburn_staging.cpp
|
||||
${LIB_SRC_DIRECTORY}portburn/portburn_winxp.cpp
|
||||
${LIB_SRC_DIRECTORY}portburn/portburn_winxpv1.cpp
|
||||
${LIB_SRC_DIRECTORY}portburn/portburn_winxpv2.cpp
|
||||
${LIB_SRC_DIRECTORY}portburn/test_portburn.cpp
|
||||
|
||||
#${LIB_SRC_DIRECTORY}portburn/portburn_macosx.c
|
||||
${LIB_SRC_DIRECTORY}portburn/portburn_staging.c
|
||||
|
||||
)
|
||||
# This defines the #define on both Windows and Linux.
|
||||
add_definitions( )
|
||||
add_library( ${TARGET} STATIC ${SOURCES})
|
||||
|
||||
target_include_directories( ${TARGET} PRIVATE
|
||||
|
||||
)
|
||||
|
||||
target_link_libraries( ${TARGET} )
|
||||
@@ -1,93 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
if( CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD" )
|
||||
if( ${_OPT}use_pa_alsa )
|
||||
find_package( ALSA )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/pm_common/portmidi.c
|
||||
${TARGET_ROOT}/pm_common/pmutil.c
|
||||
${TARGET_ROOT}/porttime/porttime.c
|
||||
|
||||
$<$<PLATFORM_ID:Windows>:
|
||||
${TARGET_ROOT}/pm_win/pmwin.c
|
||||
${TARGET_ROOT}/pm_win/pmwinmm.c
|
||||
${TARGET_ROOT}/porttime/ptwinmm.c
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Darwin>:
|
||||
${TARGET_ROOT}/pm_mac/finddefault.c
|
||||
${TARGET_ROOT}/pm_mac/pmmac.c
|
||||
${TARGET_ROOT}/pm_mac/pmmacosxcm.c
|
||||
${TARGET_ROOT}/pm_mac/readbinaryplist.c
|
||||
${TARGET_ROOT}/porttime/ptmacosx_mach.c
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Linux,FreeBSD,CYGWIN>:
|
||||
${TARGET_ROOT}/pm_linux/finddefault.c
|
||||
${TARGET_ROOT}/pm_linux/pmlinux.c
|
||||
${TARGET_ROOT}/porttime/ptlinux.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${ALSA_FOUND}>:
|
||||
${TARGET_ROOT}/pm_linux/pmlinuxalsa.c
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/pm_common
|
||||
${TARGET_ROOT}/porttime
|
||||
|
||||
$<$<PLATFORM_ID:Windows>:
|
||||
${TARGET_ROOT}/pm_win
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Darwin>:
|
||||
${TARGET_ROOT}/pm_mac
|
||||
>
|
||||
|
||||
$<$<PLATFORM_ID:Linux,FreeBSD>:
|
||||
${TARGET_ROOT}/pm_linux
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
$<$<BOOL:${ALSA_FOUND}>:
|
||||
PMALSA=1
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:
|
||||
-Wno-pointer-to-int-cast
|
||||
-Wno-int-to-pointer-cast
|
||||
-Wno-implicit-function-declaration
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
PUBLIC
|
||||
$<$<PLATFORM_ID:Darwin>:
|
||||
"-framework CoreMIDI"
|
||||
>
|
||||
$<$<PLATFORM_ID:FreeBSD>:
|
||||
compat
|
||||
>
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} INTERFACE ${LIBRARIES} )
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src/px_mixer.c
|
||||
$<$<PLATFORM_ID:Windows>:
|
||||
${TARGET_ROOT}/src/px_win_common.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_ds}>:
|
||||
${TARGET_ROOT}/src/px_win_ds.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wasapi}>:
|
||||
${TARGET_ROOT}/src/px_win_wasapi.c
|
||||
${TARGET_ROOT}/src/px_win_endpoint.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wmme}>:
|
||||
${TARGET_ROOT}/src/px_win_wmme.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_coreaudio}>:
|
||||
${TARGET_ROOT}/src/px_mac_coreaudio.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_alsa}>:
|
||||
${TARGET_ROOT}/src/px_linux_alsa.c
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_oss}>:
|
||||
${TARGET_ROOT}/src/px_unix_oss.c
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/src
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
$<$<BOOL:${${_OPT}use_pa_ds}>:
|
||||
PX_USE_WIN_DSOUND=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wasapi}>:
|
||||
PX_USE_WIN_WASAPI=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_wmme}>:
|
||||
PX_USE_WIN_MME=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_coreaudio}>:
|
||||
PX_USE_MAC_COREAUDIO=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_alsa}>:
|
||||
PX_USE_LINUX_ALSA=1
|
||||
>
|
||||
|
||||
$<$<BOOL:${${_OPT}use_pa_oss}>:
|
||||
PX_USE_UNIX_OSS=1
|
||||
>
|
||||
)
|
||||
|
||||
list( APPEND LIBRARIES
|
||||
PRIVATE
|
||||
portaudio-v19
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
target_link_libraries( ${TARGET} PRIVATE ${LIBRARIES} )
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/allegro.cpp
|
||||
${TARGET_ROOT}/allegrord.cpp
|
||||
${TARGET_ROOT}/allegroserial.cpp
|
||||
${TARGET_ROOT}/allegrosmfrd.cpp
|
||||
${TARGET_ROOT}/allegrosmfwr.cpp
|
||||
${TARGET_ROOT}/allegrowr.cpp
|
||||
${TARGET_ROOT}/mfmidi.cpp
|
||||
${TARGET_ROOT}/strparse.cpp
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/source/SoundTouch/AAFilter.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/FIFOSampleBuffer.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/FIRFilter.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/mmx_optimized.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/RateTransposer.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/SoundTouch.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/TDStretch.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/cpu_detect_x86.cpp
|
||||
${TARGET_ROOT}/source/SoundTouch/sse_optimized.cpp
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PUBLIC
|
||||
${_PUBDIR}
|
||||
${TARGET_ROOT}/include
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
${MMX_FLAG}
|
||||
${SSE_FLAG}
|
||||
)
|
||||
|
||||
configure_file( soundtouch_config.h.in public/soundtouch_config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
/* include/soundtouch_config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <cpuid.h> header file. */
|
||||
#cmakedefine HAVE_CPUID_H 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#cmakedefine HAVE_LIBM 1
|
||||
|
||||
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
|
||||
to 0 otherwise. */
|
||||
#cmakedefine HAVE_MALLOC 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@"
|
||||
|
||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||
#cmakedefine RETSIGTYPE @RETSIGTYPE@
|
||||
|
||||
/* Do not use x86 optimizations */
|
||||
#cmakedefine SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
|
||||
|
||||
/* Use Float as Sample type */
|
||||
#cmakedefine SOUNDTOUCH_FLOAT_SAMPLES 1
|
||||
|
||||
/* Use Integer as Sample type */
|
||||
#cmakedefine SOUNDTOUCH_INTEGER_SAMPLES 1
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#cmakedefine const @const@
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#cmakedefine inline @inline@
|
||||
#endif
|
||||
|
||||
/* Define to rpl_malloc if the replacement function should be used. */
|
||||
#cmakedefine malloc @malloc@
|
||||
@@ -1,56 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
|
||||
# sqlite
|
||||
|
||||
${TARGET_ROOT}/sqlite3.c
|
||||
${TARGET_ROOT}/sqlite3.h
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PUBLIC
|
||||
${TARGET_ROOT}
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
#
|
||||
# We need the dbpage table for space calculations.
|
||||
#
|
||||
SQLITE_ENABLE_DBPAGE_VTAB=1
|
||||
|
||||
# Can't be set after a WAL mode database is initialized, so change
|
||||
# the default here to ensure all project files get the same page
|
||||
# size.
|
||||
SQLITE_DEFAULT_PAGE_SIZE=65536
|
||||
|
||||
#
|
||||
# Recommended in SQLite docs
|
||||
#
|
||||
SQLITE_DQS=0
|
||||
SQLITE_DEFAULT_MEMSTATUS=0
|
||||
SQLITE_DEFAULT_SYNCHRONOUS=1
|
||||
SQLITE_DEFAULT_WAL_SYNCHRONOUS=1
|
||||
SQLITE_LIKE_DOESNT_MATCH_BLOBS
|
||||
SQLITE_MAX_EXPR_DEPTH=0
|
||||
SQLITE_OMIT_DEPRECATED
|
||||
SQLITE_OMIT_SHARED_CACHE
|
||||
SQLITE_USE_ALLOCA
|
||||
SQLITE_OMIT_AUTOINIT
|
||||
$<$<BOOL:${HAVE_FDATASYNC}>:HAVE_FDATASYNC>
|
||||
$<$<BOOL:${HAVE_GMTIME_R}>:HAVE_GMTIME_R>
|
||||
$<$<BOOL:${HAVE_ISNAN}>:HAVE_ISNAN>
|
||||
$<$<BOOL:${HAVE_LOCALTIME_R}>:HAVE_LOCALTIME_R>
|
||||
$<$<BOOL:${HAVE_LOCALTIME_S}>:HAVE_LOCALTIME_S>
|
||||
)
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
|
||||
add_library( ${TARGET} STATIC )
|
||||
|
||||
def_vars()
|
||||
|
||||
list( APPEND SOURCES
|
||||
PRIVATE
|
||||
${TARGET_ROOT}/libtwolame/ath.c
|
||||
${TARGET_ROOT}/libtwolame/availbits.c
|
||||
${TARGET_ROOT}/libtwolame/bitbuffer.c
|
||||
${TARGET_ROOT}/libtwolame/crc.c
|
||||
${TARGET_ROOT}/libtwolame/dab.c
|
||||
${TARGET_ROOT}/libtwolame/encode.c
|
||||
${TARGET_ROOT}/libtwolame/energy.c
|
||||
${TARGET_ROOT}/libtwolame/fft.c
|
||||
${TARGET_ROOT}/libtwolame/get_set.c
|
||||
${TARGET_ROOT}/libtwolame/mem.c
|
||||
${TARGET_ROOT}/libtwolame/psycho_0.c
|
||||
${TARGET_ROOT}/libtwolame/psycho_1.c
|
||||
${TARGET_ROOT}/libtwolame/psycho_2.c
|
||||
${TARGET_ROOT}/libtwolame/psycho_3.c
|
||||
${TARGET_ROOT}/libtwolame/psycho_4.c
|
||||
${TARGET_ROOT}/libtwolame/psycho_n1.c
|
||||
${TARGET_ROOT}/libtwolame/subband.c
|
||||
${TARGET_ROOT}/libtwolame/twolame.c
|
||||
${TARGET_ROOT}/libtwolame/util.c
|
||||
)
|
||||
|
||||
list( APPEND INCLUDES
|
||||
PRIVATE
|
||||
${_PRVDIR}
|
||||
PUBLIC
|
||||
${TARGET_ROOT}/libtwolame
|
||||
)
|
||||
|
||||
list( APPEND DEFINES
|
||||
PRIVATE
|
||||
LIBTWOLAME_STATIC
|
||||
)
|
||||
|
||||
list( APPEND OPTIONS
|
||||
PRIVATE
|
||||
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-implicit-function-declaration>
|
||||
)
|
||||
|
||||
set( PACKAGE_BUGREPORT "twolame-discuss@lists.sourceforge.net" )
|
||||
set( PACKAGE_VERSION "0.3.13" )
|
||||
|
||||
configure_file( config.h.in private/config.h )
|
||||
|
||||
organize_source( "${TARGET_ROOT}" "" "${SOURCES}" )
|
||||
target_sources( ${TARGET} PRIVATE ${SOURCES} )
|
||||
target_compile_definitions( ${TARGET} PRIVATE ${DEFINES} )
|
||||
target_compile_options( ${TARGET} PRIVATE ${OPTIONS} )
|
||||
target_include_directories( ${TARGET} PRIVATE ${INCLUDES} )
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
/* libtwolame/config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define if building universal (internal helper macro) */
|
||||
#cmakedefine AC_APPLE_UNIVERSAL_BUILD 1
|
||||
|
||||
/* Define to 1 if you have the <assert.h> header file. */
|
||||
#cmakedefine HAVE_ASSERT_H 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#cmakedefine HAVE_DLFCN_H 1
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#cmakedefine HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `m' library (-lm). */
|
||||
#cmakedefine HAVE_LIBM 1
|
||||
|
||||
/* Define to 1 if you have the `mx' library (-lmx). */
|
||||
#cmakedefine HAVE_LIBMX 1
|
||||
|
||||
/* Define to 1 if you have the <malloc.h> header file. */
|
||||
#cmakedefine HAVE_MALLOC_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#cmakedefine HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#cmakedefine HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#cmakedefine HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#cmakedefine HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#cmakedefine HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#cmakedefine HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#cmakedefine HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||
*/
|
||||
#cmakedefine LT_OBJDIR "@LT_OBJDIR@"
|
||||
|
||||
/* Name of package */
|
||||
#cmakedefine PACKAGE "@PACKAGE@"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#cmakedefine PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#cmakedefine PACKAGE_TARNAME "@PACKAGE_TARNAME@"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#cmakedefine PACKAGE_URL "@PACKAGE_URL@"
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
|
||||
|
||||
/* The size of `float', as computed by sizeof. */
|
||||
#define SIZEOF_FLOAT @SIZEOF_FLOAT@
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
#define SIZEOF_SHORT @SIZEOF_SHORT@
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#cmakedefine VERSION "@VERSION@"
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
#cmakedefine const @const@
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
#cmakedefine inline @inline@
|
||||
#endif
|
||||
Reference in New Issue
Block a user