Signed-off-by: falkTX <falktx@falktx.com>pull/457/head
@@ -49,7 +49,7 @@ if(DPF_EXAMPLES) | |||||
add_subdirectory("examples/CairoUI") | add_subdirectory("examples/CairoUI") | ||||
endif() | endif() | ||||
endif() | endif() | ||||
#add_subdirectory("examples/EmbedExternalUI") | |||||
add_subdirectory("examples/EmbedExternalUI") | |||||
add_subdirectory("examples/FileHandling") | add_subdirectory("examples/FileHandling") | ||||
add_subdirectory("examples/Info") | add_subdirectory("examples/Info") | ||||
add_subdirectory("examples/Latency") | add_subdirectory("examples/Latency") | ||||
@@ -35,9 +35,9 @@ examples: dgl | |||||
ifeq ($(HAVE_CAIRO),true) | ifeq ($(HAVE_CAIRO),true) | ||||
$(MAKE) all -C examples/CairoUI | $(MAKE) all -C examples/CairoUI | ||||
endif | 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) | ifeq ($(CAN_GENERATE_TTL),true) | ||||
gen: examples utils/lv2_ttl_generator | gen: examples utils/lv2_ttl_generator | ||||
@@ -2,7 +2,7 @@ | |||||
# ------------------------------ # | # ------------------------------ # | ||||
dpf_add_plugin(d_embed_external_ui | dpf_add_plugin(d_embed_external_ui | ||||
TARGETS lv2 vst2 vst3 clap | |||||
TARGETS jack lv2 vst2 vst3 clap | |||||
UI_TYPE external | UI_TYPE external | ||||
FILES_DSP | FILES_DSP | ||||
EmbedExternalExamplePlugin.cpp | EmbedExternalExamplePlugin.cpp | ||||
@@ -10,9 +10,3 @@ dpf_add_plugin(d_embed_external_ui | |||||
EmbedExternalExampleUI.cpp) | EmbedExternalExampleUI.cpp) | ||||
target_include_directories(d_embed_external_ui PUBLIC ".") | 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 () |
@@ -25,12 +25,6 @@ USE_WEB_VIEW = true | |||||
UI_TYPE = external | UI_TYPE = external | ||||
include ../../Makefile.plugins.mk | 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 | # Enable all possible plugin types | ||||