commit 05c89fd873a165784e59d4ddd479965bf924ecd9
parent 7ab6a5ee91e43bdf80a8b11e26bbdc6bf067502e
Author: 790 <790@users.noreply.github.com>
Date: Tue, 1 Mar 2022 16:38:19 +0000
remove darkui from cmakelists
Diffstat:
2 files changed, 14 insertions(+), 126 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -43,20 +43,20 @@ if(${PROJECT_NAME}_BUILD_JUCEPLUGIN)
install(TARGETS jucePlugin_VST3 LIBRARY DESTINATION /usr/local/lib/vst3/ COMPONENT VST3)
endif()
- if(MSVC OR APPLE)
- if(JUCE_GLOBAL_VST2_SDK_PATH)
- install(TARGETS jucePlugin_Dark_VST DESTINATION . COMPONENT VST2_Dark)
- endif()
- install(TARGETS jucePlugin_Dark_VST3 DESTINATION . COMPONENT VST3_Dark)
- if(APPLE)
- install(TARGETS jucePlugin_Dark_AU DESTINATION . COMPONENT AU_Dark)
- endif()
- elseif(UNIX)
- if(JUCE_GLOBAL_VST2_SDK_PATH)
- install(TARGETS jucePlugin_Dark_VST LIBRARY DESTINATION /usr/local/lib/lxvst/ COMPONENT VST2_Dark)
- endif()
- install(TARGETS jucePlugin_Dark_VST3 LIBRARY DESTINATION /usr/local/lib/vst3/ COMPONENT VST3_Dark)
- endif()
+# if(MSVC OR APPLE)
+# if(JUCE_GLOBAL_VST2_SDK_PATH)
+# install(TARGETS jucePlugin_Dark_VST DESTINATION . COMPONENT VST2_Dark)
+# endif()
+# install(TARGETS jucePlugin_Dark_VST3 DESTINATION . COMPONENT VST3_Dark)
+# if(APPLE)
+# install(TARGETS jucePlugin_Dark_AU DESTINATION . COMPONENT AU_Dark)
+# endif()
+# elseif(UNIX)
+# if(JUCE_GLOBAL_VST2_SDK_PATH)
+# install(TARGETS jucePlugin_Dark_VST LIBRARY DESTINATION /usr/local/lib/lxvst/ COMPONENT VST2_Dark)
+# endif()
+# install(TARGETS jucePlugin_Dark_VST3 LIBRARY DESTINATION /usr/local/lib/vst3/ COMPONENT VST3_Dark)
+# endif()
endif()
# ----------------- Test Console
diff --git a/source/jucePlugin/CMakeLists.txt b/source/jucePlugin/CMakeLists.txt
@@ -175,114 +175,3 @@ endif()
-#SKIN2---------------------------------------------------------------------------------------------------------------------------------------
-
-cmake_minimum_required(VERSION 3.15)
-project(jucePlugin_Dark VERSION ${CMAKE_PROJECT_VERSION})
-
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/version.h)
-
-if(JUCE_GLOBAL_VST2_SDK_PATH)
- set(VST "VST")
-else()
- set(VST "")
-endif()
-
-juce_add_plugin(jucePlugin_Dark
- # VERSION ... # Set this if the plugin version is different to the project version
- # ICON_BIG ... # ICON_* arguments specify a path to an image file to use as an icon for the Standalone
- # ICON_SMALL ...
- COMPANY_NAME "The Usual Suspects" # Specify the name of the plugin's author
- IS_SYNTH TRUE # Is this a synth or an effect?
- NEEDS_MIDI_INPUT TRUE # Does the plugin need midi input?
- NEEDS_MIDI_OUTPUT TRUE # Does the plugin need midi output?
- IS_MIDI_EFFECT FALSE # Is this plugin a MIDI effect?
- EDITOR_WANTS_KEYBOARD_FOCUS TRUE # Does the editor need keyboard focus?
- COPY_PLUGIN_AFTER_BUILD FALSE # Should the plugin be installed to a default location after building?
- PLUGIN_MANUFACTURER_CODE TusP # A four-character manufacturer id with at least one upper-case character
- PLUGIN_CODE TusV # A unique four-character plugin id with exactly one upper-case character
- # GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case
- FORMATS AU VST3 ${VST} Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
- PRODUCT_NAME "DSP56300Emu_Dark" # The name of the final executable, which can differ from the target name
-)
-target_sources(jucePlugin_Dark
-PRIVATE
- ${SOURCES}
- PluginEditorSkin2.cpp
- PluginEditorSkin2.h
- ui2/Virus_Buttons.cpp
- ui2/Virus_LookAndFeel.cpp
- ui2/VirusEditor.cpp
- ui2/Virus_Panel4_ArpEditor.cpp
- ui2/Virus_Panel3_FxEditor.cpp
- ui2/Virus_Panel2_LfoEditor.cpp
- ui2/Virus_Panel1_OscEditor.cpp
- ui2/Virus_Panel5_PatchBrowser.cpp
- ui2/Virus_Buttons.h
- ui2/Virus_LookAndFeel.h
- ui2/VirusEditor.h
- ui2/Virus_Panel4_ArpEditor.h
- ui2/Virus_Panel3_FxEditor.h
- ui2/Virus_Panel2_LfoEditor.h
- ui2/Virus_Panel1_OscEditor.h
- ui2/Virus_Panel5_PatchBrowser.h
- ui2/Ui_Utils.h
-)
-
-# https://forum.juce.com/t/help-needed-using-binarydata-with-cmake-juce-6/40486
-# "This might be because the BinaryData files are generated during the build, so the IDE may not be able to find them until the build has been run once (and even then, some IDEs might need a bit of a nudge to re-index the binary directory…)"
-juce_add_binary_data(jucePlugin_BinaryData_Dark
- SOURCES
- "assets2/main_background.png"
- "assets2/panels/panel_1.png"
- "assets2/panels/panel_2.png"
- "assets2/panels/panel_3.png"
- "assets2/panels/panel_4.png"
- "assets2/panels/panel_5.png"
- "assets2/buttons/btn_main_1.png"
- "assets2/buttons/btn_main_2.png"
- "assets2/buttons/btn_main_3.png"
- "assets2/buttons/btn_main_4.png"
- "assets2/buttons/btn_main_5.png"
- "assets2/buttons/btn_1.png"
- "assets2/buttons/btn_2.png"
- "assets2/buttons/btn_3.png"
- "assets2/buttons/btn_4.png"
- "assets2/buttons/btn_left.png"
- "assets2/buttons/btn_right.png"
- "assets2/buttons/btn_down.png"
- "assets2/buttons/btn_menu.png"
- "assets2/buttons/btn_load_bank.png"
- "assets2/buttons/btn_save_preset.png"
- "assets2/combobox/cmb_1.png"
- "assets2/combobox/cmb_2.png"
- "assets2/knobs/knob_1_128.png"
- "assets2/knobs/knob_2_128.png"
- "assets2/font/Digital"
- "parameterDescriptions_C.json"
-)
-
-target_compile_definitions(jucePlugin_Dark
-PUBLIC
- # JUCE_WEB_BROWSER and JUCE_USE_CURL would be on by default, but you might not need them.
- JUCE_WEB_BROWSER=0 # If you remove this, add `NEEDS_WEB_BROWSER TRUE` to the `juce_add_plugin` call
- JUCE_USE_CURL=0 # If you remove this, add `NEEDS_CURL TRUE` to the `juce_add_plugin` call
- JUCE_VST3_CAN_REPLACE_VST2=0
- JUCE_WIN_PER_MONITOR_DPI_AWARE=0
-)
-
-target_link_libraries(jucePlugin_Dark
-PRIVATE
- jucePlugin_BinaryData_Dark
- juce::juce_audio_utils
- juce::juce_cryptography
-PUBLIC
- virusLib
- #juce::juce_recommended_config_flags
- #juce::juce_recommended_lto_flags
- #juce::juce_recommended_warning_flags
-)
-
-if(UNIX AND NOT APPLE)
- target_link_libraries(jucePlugin_Dark PUBLIC -static-libgcc -static-libstdc++)
-endif()
-\ No newline at end of file