Browse Source

Allow "mapi" build target to build CardinalFX as shared lib

Signed-off-by: falkTX <falktx@falktx.com>
tags/26.01
falkTX 5 months ago
parent
commit
e494aff6e8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
5 changed files with 14 additions and 2 deletions
  1. +3
    -0
      Makefile
  2. +1
    -1
      dpf
  3. +2
    -1
      src/CardinalCommon.cpp
  4. +3
    -0
      src/Makefile
  5. +5
    -0
      src/Makefile.cardinal.mk

+ 3
- 0
Makefile View File

@@ -238,6 +238,9 @@ clap: carla deps dgl plugins resources
lv2: carla deps dgl plugins resources
$(MAKE) lv2 -C src $(CARLA_EXTRA_ARGS)

mapi: carla deps dgl plugins resources
$(MAKE) mapi -C src $(CARLA_EXTRA_ARGS)

vst2: carla deps dgl plugins resources
$(MAKE) vst2 -C src $(CARLA_EXTRA_ARGS)



+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit 79e5339bef455583a4b5762addfd6578d4230f05
Subproject commit 50f4a7c6c2e092e6035cf69b3456b03cbfe412b0

+ 2
- 1
src/CardinalCommon.cpp View File

@@ -875,7 +875,8 @@ void Initializer::stopRemoteServer()
lo_server_thread_stop(oscServerThread);
lo_server_thread_del_method(oscServerThread, nullptr, nullptr);
lo_server_thread_free(oscServerThread);
oscServerThread = oscServer = nullptr;
oscServerThread = nullptr;
oscServer = nullptr;
}
#else
if (oscServer != nullptr)


+ 3
- 0
src/Makefile View File

@@ -147,6 +147,9 @@ au: $(TARGETS)
$(MAKE) au -C CardinalFX $(CARDINAL_SYNTH_ARGS)
$(MAKE) au -C CardinalSynth $(CARDINAL_SYNTH_ARGS)

mapi: $(TARGETS)
$(MAKE) mapi -C CardinalFX $(CARDINAL_FX_ARGS)

lv2: $(TARGETS)
$(MAKE) lv2 -C Cardinal
$(MAKE) lv2 -C CardinalFX $(CARDINAL_FX_ARGS)


+ 5
- 0
src/Makefile.cardinal.mk View File

@@ -409,6 +409,11 @@ endif

BUILD_CXX_FLAGS += -DCARDINAL_PLUGIN_PREFIX='"$(PREFIX)"'

# --------------------------------------------------------------
# we know what we are doing, promise!

BUILD_CXX_FLAGS += -DDISTRHO_NO_WARNINGS

# --------------------------------------------------------------
# Enable all possible plugin types and setup resources



Loading…
Cancel
Save