Browse Source

Add EmbedExternalUI to default build

Signed-off-by: falkTX <falktx@falktx.com>
pull/457/head
falkTX 4 months ago
parent
commit
d303ab8cf0
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 5 additions and 17 deletions
  1. +1
    -1
      CMakeLists.txt
  2. +3
    -3
      Makefile
  3. +1
    -7
      examples/EmbedExternalUI/CMakeLists.txt
  4. +0
    -6
      examples/EmbedExternalUI/Makefile

+ 1
- 1
CMakeLists.txt View File

@@ -49,7 +49,7 @@ if(DPF_EXAMPLES)
add_subdirectory("examples/CairoUI")
endif()
endif()
#add_subdirectory("examples/EmbedExternalUI")
add_subdirectory("examples/EmbedExternalUI")
add_subdirectory("examples/FileHandling")
add_subdirectory("examples/Info")
add_subdirectory("examples/Latency")


+ 3
- 3
Makefile View File

@@ -35,9 +35,9 @@ examples: dgl
ifeq ($(HAVE_CAIRO),true)
$(MAKE) all -C examples/CairoUI
endif
# ifeq ($(HAVE_DGL),true)
# $(MAKE) all -C examples/EmbedExternalUI
# endif
ifeq ($(HAVE_DGL),true)
$(MAKE) all -C examples/EmbedExternalUI
endif

ifeq ($(CAN_GENERATE_TTL),true)
gen: examples utils/lv2_ttl_generator


+ 1
- 7
examples/EmbedExternalUI/CMakeLists.txt View File

@@ -2,7 +2,7 @@
# ------------------------------ #

dpf_add_plugin(d_embed_external_ui
TARGETS lv2 vst2 vst3 clap
TARGETS jack lv2 vst2 vst3 clap
UI_TYPE external
FILES_DSP
EmbedExternalExamplePlugin.cpp
@@ -10,9 +10,3 @@ dpf_add_plugin(d_embed_external_ui
EmbedExternalExampleUI.cpp)

target_include_directories(d_embed_external_ui PUBLIC ".")

if (APPLE)
find_library(APPLE_COCOA_FRAMEWORK "Cocoa")
target_compile_options(d_embed_external_ui PUBLIC "-ObjC++")
target_link_libraries(d_embed_external_ui PUBLIC "${APPLE_COCOA_FRAMEWORK}")
endif ()

+ 0
- 6
examples/EmbedExternalUI/Makefile View File

@@ -25,12 +25,6 @@ USE_WEB_VIEW = true
UI_TYPE = external
include ../../Makefile.plugins.mk

ifeq ($(MACOS),true)
BUILD_CXX_FLAGS += -ObjC++
# else ifeq ($(WINDOWS),true)
# BUILD_CXX_FLAGS += -std=gnu++17
endif

# --------------------------------------------------------------
# Enable all possible plugin types



Loading…
Cancel
Save