Browse Source

Testing

tags/1.9.4
falkTX 11 years ago
parent
commit
234b4cdd43
7 changed files with 17 additions and 30 deletions
  1. +8
    -15
      Makefile
  2. +1
    -0
      source/Makefile.mk
  3. +0
    -6
      source/backend/CarlaBackend.hpp
  4. +2
    -5
      source/discovery/Makefile
  5. +0
    -1
      source/includes/pugl
  6. +3
    -1
      source/tests/ANSI.cpp
  7. +3
    -2
      source/tests/Makefile

+ 8
- 15
Makefile View File

@@ -15,22 +15,15 @@ PYRCC ?= pyrcc4 -py3


# ------------------------------------------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------------------------------------------


HAVE_OPENGL = $(shell pkg-config --exists gl && echo true)
HAVE_QTCORE = $(shell pkg-config --exists QtCore && echo true)

ifneq ($(HAVE_OPENGL),true)
all:
@echo Error: Missing OpenGL or pkg-config, cannot build
@exit 1
else
ifneq ($(HAVE_QTCORE),true)
all:
@echo Error: Missing QtCore, cannot build
@exit 1
else
# HAVE_LIBS = $(shell pkg-config --exists freetype2 x11 && echo true)

# ifneq ($(HAVE_LIBS),true)
# all
# @echo Error Missing libraries or pkg-config, cannot build
# @exit 1
# else
all: CPP RES UI WIDGETS all: CPP RES UI WIDGETS
endif
endif
# endif


# ------------------------------------------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------------------------------------------
# C++ code # C++ code


+ 1
- 0
source/Makefile.mk View File

@@ -53,6 +53,7 @@ BUILD_CXX_FLAGS += -DVESTIGE_HEADER
# -------------------------------------------------------------- # --------------------------------------------------------------


HAVE_JACK = $(shell pkg-config --exists jack && echo true) HAVE_JACK = $(shell pkg-config --exists jack && echo true)
HAVE_OPENGL = $(shell pkg-config --exists gl && echo true)


HAVE_AF_DEPS = $(shell pkg-config --exists libavcodec libavformat sndfile && echo true) HAVE_AF_DEPS = $(shell pkg-config --exists libavcodec libavformat sndfile && echo true)
HAVE_ZYN_DEPS = $(shell pkg-config --exists fftw3 mxml zlib && echo true) HAVE_ZYN_DEPS = $(shell pkg-config --exists fftw3 mxml zlib && echo true)


+ 0
- 6
source/backend/CarlaBackend.hpp View File

@@ -721,12 +721,6 @@ struct MidiProgramData {
: bank(0), : bank(0),
program(0), program(0),
name(nullptr) {} name(nullptr) {}

~MidiProgramData()
{
if (name != nullptr)
delete[] name;
}
}; };


/*! /*!


+ 2
- 5
source/discovery/Makefile View File

@@ -74,11 +74,8 @@ carla-discovery-win64.exe: $(OBJS) $(LIBS_win64)


# -------------------------------------------------------------- # --------------------------------------------------------------


../libs/lilv.a:
$(MAKE) -C ../libs/lilv

../libs/lilv_%.a:
$(MAKE) -C ../libs/lilv $*
../libs/%:
$(MAKE) -C ../libs $*


# -------------------------------------------------------------- # --------------------------------------------------------------




+ 0
- 1
source/includes/pugl View File

@@ -1 +0,0 @@
../libs/pugl/

+ 3
- 1
source/tests/ANSI.cpp View File

@@ -18,7 +18,9 @@
// still need qt classes check // still need qt classes check
//#include "plugin/CarlaPluginInternal.hpp" //#include "plugin/CarlaPluginInternal.hpp"
//#include "plugin/DssiPlugin.cpp" //#include "plugin/DssiPlugin.cpp"
#include "../widgets/digitalpeakmeter.cpp"
//#include "../widgets/digitalpeakmeter.cpp"

#include "CarlaJuceHeader.hpp"


#if 0 #if 0
#include "CarlaDefines.hpp" #include "CarlaDefines.hpp"


+ 3
- 2
source/tests/Makefile View File

@@ -9,8 +9,9 @@ include ../Makefile.mk
# -------------------------------------------------------------- # --------------------------------------------------------------


BUILD_CXX_FLAGS += -I../backend -I../includes -I../libs -I../utils -Wall -Wextra BUILD_CXX_FLAGS += -I../backend -I../includes -I../libs -I../utils -Wall -Wextra
BUILD_CXX_FLAGS += -DWANT_JACK -DWANT_LADSPA -DWANT_DSSI
BUILD_CXX_FLAGS += -isystem /usr/include/qt4
BUILD_CXX_FLAGS += -isystem ../libs/juce
# BUILD_CXX_FLAGS += -DWANT_JACK -DWANT_LADSPA -DWANT_DSSI
# BUILD_CXX_FLAGS += -isystem /usr/include/qt4
# BUILD_CXX_FLAGS += -isystem ../backend/engine/rtaudio-4.0.11 # BUILD_CXX_FLAGS += -isystem ../backend/engine/rtaudio-4.0.11
# BUILD_CXX_FLAGS += -I/opt/mingw32/include # BUILD_CXX_FLAGS += -I/opt/mingw32/include




Loading…
Cancel
Save