Browse Source

Dont give warnings for missing libs on CI test builds

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 5 years ago
parent
commit
6e595bf9d9
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
5 changed files with 8 additions and 5 deletions
  1. +1
    -1
      .travis/script-macos.sh
  2. +1
    -1
      .travis/script-win32.sh
  3. +1
    -1
      .travis/script-win64.sh
  4. +2
    -1
      source/includes/CarlaNativePrograms.hpp
  5. +3
    -1
      source/native-plugins/audio-file.cpp

+ 1
- 1
.travis/script-macos.sh View File

@@ -3,7 +3,7 @@
set -e

# Preparation
_FLAGS="-Wno-attributes -Wno-deprecated-declarations -Werror"
_FLAGS="-Wno-attributes -Wno-deprecated-declarations -Werror -DBUILDING_FOR_CI"
export CFLAGS="${_FLAGS}"
export CXXFLAGS="${_FLAGS}"
export MACOS_OLD=true


+ 1
- 1
.travis/script-win32.sh View File

@@ -3,7 +3,7 @@
set -e

# Preparation
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror"
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror -DBUILDING_FOR_CI"
_PREFIX=i686-w64-mingw32
export AR=${_PREFIX}-ar
export CC=${_PREFIX}-gcc


+ 1
- 1
.travis/script-win64.sh View File

@@ -3,7 +3,7 @@
set -e

# Preparation
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror"
_FLAGS="-DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -Werror -DBUILDING_FOR_CI"
_PREFIX=x86_64-w64-mingw32
export AR=${_PREFIX}-ar
export CC=${_PREFIX}-gcc


+ 2
- 1
source/includes/CarlaNativePrograms.hpp View File

@@ -83,7 +83,8 @@ template <FileType fileType>
class NativePluginWithMidiPrograms : public NativePluginClass
{
public:
typedef SharedResourcePointer<NativePluginPresetManager<fileType>> NativeMidiPrograms;
typedef NativePluginPresetManager<fileType> NativePluginPresetManagerType;
typedef SharedResourcePointer<NativePluginPresetManagerType> NativeMidiPrograms;

NativePluginWithMidiPrograms(const NativeHostDescriptor* const host,
const NativeMidiPrograms& programs,


+ 3
- 1
source/native-plugins/audio-file.cpp View File

@@ -32,8 +32,10 @@ static const char* const audiofilesWildcard =
# endif
#endif
#if !defined(HAVE_SNDFILE) && !defined(HAVE_FFMPEG)
# warning sndfile and ffmpeg libraries missing, no audio file support will be available
""
# ifndef BUILDING_FOR_CI
# warning sndfile and ffmpeg libraries missing, no audio file support will be available
# endif
#endif
;



Loading…
Cancel
Save