Browse Source

Build clap stuff with -ObjC++ under macOS

Signed-off-by: falkTX <falktx@falktx.com>
pull/1689/head
falkTX 2 years ago
parent
commit
a2791c9676
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 20 additions and 0 deletions
  1. +5
    -0
      source/backend/plugin/Makefile
  2. +15
    -0
      source/bridges-plugin/Makefile

+ 5
- 0
source/backend/plugin/Makefile View File

@@ -98,6 +98,11 @@ $(OBJDIR)/CarlaPluginVST3.cpp.o: CarlaPluginVST3.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling $<" @echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ -c -o $@ $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ -c -o $@

$(OBJDIR)/CarlaPluginCLAP.cpp.o: CarlaPluginCLAP.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -ObjC++ -c -o $@
endif endif


ifeq ($(USING_JUCE),true) ifeq ($(USING_JUCE),true)


+ 15
- 0
source/bridges-plugin/Makefile View File

@@ -342,6 +342,11 @@ $(OBJDIR)/CarlaPluginVST3.cpp.o: $(CWD)/backend/plugin/CarlaPluginVST3.cpp
@echo "Compiling CarlaPluginVST3.cpp (bridge)" @echo "Compiling CarlaPluginVST3.cpp (bridge)"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@ $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@


$(OBJDIR)/CarlaPluginCLAP.cpp.o: $(CWD)/backend/plugin/CarlaPluginCLAP.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling CarlaPluginCLAP.cpp (bridge)"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -ObjC++ -c -o $@

$(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp $(OBJDIR)/CarlaStandalone.cpp.o: $(CWD)/backend/CarlaStandalone.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling CarlaStandalone.cpp (bridge)" @echo "Compiling CarlaStandalone.cpp (bridge)"
@@ -436,6 +441,11 @@ $(OBJDIR)/CarlaPluginVST3.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPluginVST3.c
@echo "Compiling CarlaPluginVST3.cpp (posix32 bridge)" @echo "Compiling CarlaPluginVST3.cpp (posix32 bridge)"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@ $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@


$(OBJDIR)/CarlaPluginCLAP.cpp.posix32.o: $(CWD)/backend/plugin/CarlaPluginCLAP.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling CarlaPluginCLAP.cpp (posix32 bridge)"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(32BIT_FLAGS) -ObjC++ -c -o $@

$(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp $(OBJDIR)/CarlaBridgePlugin.cpp.posix32.o: CarlaBridgePlugin.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling $< (posix32 bridge)" @echo "Compiling $< (posix32 bridge)"
@@ -495,6 +505,11 @@ $(OBJDIR)/CarlaPluginVST3.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPluginVST3.c
@echo "Compiling CarlaPluginVST3.cpp (posix64 bridge)" @echo "Compiling CarlaPluginVST3.cpp (posix64 bridge)"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@ $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@


$(OBJDIR)/CarlaPluginCLAP.cpp.posix64.o: $(CWD)/backend/plugin/CarlaPluginCLAP.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling CarlaPluginCLAP.cpp (posix64 bridge)"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(64BIT_FLAGS) -ObjC++ -c -o $@

$(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp $(OBJDIR)/CarlaBridgePlugin.cpp.posix64.o: CarlaBridgePlugin.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling $< (posix64 bridge)" @echo "Compiling $< (posix64 bridge)"


Loading…
Cancel
Save