Tweak mini variant build to allow standalone
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5376573d09
commit
ca5bfd6270
25 changed files with 171 additions and 168 deletions
19
src/CardinalMiniSep/CardinalCommon-UI.cpp
Normal file
19
src/CardinalMiniSep/CardinalCommon-UI.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 3 of
|
||||
* the License, or any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
||||
*/
|
||||
|
||||
#define CARDINAL_COMMON_UI_ONLY
|
||||
#include "../CardinalCommon.cpp"
|
||||
19
src/CardinalMiniSep/CardinalCommon.cpp
Normal file
19
src/CardinalMiniSep/CardinalCommon.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 3 of
|
||||
* the License, or any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
||||
*/
|
||||
|
||||
#define CARDINAL_COMMON_DSP_ONLY
|
||||
#include "../CardinalCommon.cpp"
|
||||
1
src/CardinalMiniSep/CardinalPlugin.cpp
Symbolic link
1
src/CardinalMiniSep/CardinalPlugin.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../CardinalPlugin.cpp
|
||||
1
src/CardinalMiniSep/CardinalRemote.cpp
Symbolic link
1
src/CardinalMiniSep/CardinalRemote.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../CardinalRemote.cpp
|
||||
1
src/CardinalMiniSep/CardinalUI.cpp
Symbolic link
1
src/CardinalMiniSep/CardinalUI.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../CardinalUI.cpp
|
||||
56
src/CardinalMiniSep/DistrhoPluginInfo.h
Normal file
56
src/CardinalMiniSep/DistrhoPluginInfo.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 3 of
|
||||
* the License, or any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
#define DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
|
||||
#define CARDINAL_VARIANT_MAIN 0
|
||||
#define CARDINAL_VARIANT_MINI 1
|
||||
#define CARDINAL_VARIANT_FX 0
|
||||
#define CARDINAL_VARIANT_NATIVE 0
|
||||
#define CARDINAL_VARIANT_SYNTH 0
|
||||
|
||||
#define CARDINAL_NUM_AUDIO_INPUTS 2
|
||||
#define CARDINAL_NUM_AUDIO_OUTPUTS 2
|
||||
|
||||
#define DISTRHO_PLUGIN_BRAND "DISTRHO"
|
||||
#define DISTRHO_PLUGIN_URI "https://distrho.kx.studio/plugins/cardinal#mini"
|
||||
|
||||
#define DISTRHO_PLUGIN_NAME "Cardinal Mini"
|
||||
#define DISTRHO_PLUGIN_LABEL "CardinalMini"
|
||||
|
||||
#define DISTRHO_PLUGIN_HAS_UI 1
|
||||
#define DISTRHO_PLUGIN_WANT_DIRECT_ACCESS 0
|
||||
#define DISTRHO_UI_FILE_BROWSER 1
|
||||
#define DISTRHO_UI_USE_NANOVG 1
|
||||
#define DISTRHO_UI_USER_RESIZABLE 1
|
||||
#define DISTRHO_UI_DEFAULT_WIDTH 1000
|
||||
#define DISTRHO_UI_DEFAULT_HEIGHT 600
|
||||
#define DISTRHO_PLUGIN_IS_SYNTH 0
|
||||
#define DISTRHO_PLUGIN_NUM_INPUTS CARDINAL_NUM_AUDIO_INPUTS + 5
|
||||
#define DISTRHO_PLUGIN_NUM_OUTPUTS CARDINAL_NUM_AUDIO_OUTPUTS + 5
|
||||
#define DISTRHO_PLUGIN_WANT_MIDI_INPUT 1
|
||||
#define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT 1
|
||||
#define DISTRHO_PLUGIN_WANT_FULL_STATE 1
|
||||
#define DISTRHO_PLUGIN_WANT_STATE 1
|
||||
#define DISTRHO_PLUGIN_WANT_TIMEPOS 1
|
||||
#define DISTRHO_PLUGIN_LV2_CATEGORY "mod:ControlVoltagePlugin, lv2:UtilityPlugin"
|
||||
|
||||
#define DISTRHO_PLUGIN_USES_MODGUI 1
|
||||
#define DISTRHO_PLUGIN_USES_CUSTOM_MODGUI 1
|
||||
|
||||
#endif // DISTRHO_PLUGIN_INFO_H_INCLUDED
|
||||
11
src/CardinalMiniSep/Makefile
Normal file
11
src/CardinalMiniSep/Makefile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
# Makefile for DISTRHO Plugins #
|
||||
# ---------------------------- #
|
||||
# Created by falkTX
|
||||
#
|
||||
|
||||
NAME = CardinalMini
|
||||
DPF_BUILD_DIR = ../../build/$(NAME)-sep
|
||||
DSP_UI_SPLIT = true
|
||||
MODGUI_CLASS_NAME = distrho_cardinal_mini
|
||||
include ../Makefile.cardinal.mk
|
||||
1
src/CardinalMiniSep/MenuBar.cpp
Symbolic link
1
src/CardinalMiniSep/MenuBar.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../override/MenuBar.cpp
|
||||
1
src/CardinalMiniSep/RemoteNanoVG.cpp
Symbolic link
1
src/CardinalMiniSep/RemoteNanoVG.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../custom/RemoteNanoVG.cpp
|
||||
1
src/CardinalMiniSep/RemoteWindow.cpp
Symbolic link
1
src/CardinalMiniSep/RemoteWindow.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../custom/RemoteWindow.cpp
|
||||
1
src/CardinalMiniSep/Window.cpp
Symbolic link
1
src/CardinalMiniSep/Window.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../override/Window.cpp
|
||||
1
src/CardinalMiniSep/common.cpp
Symbolic link
1
src/CardinalMiniSep/common.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../override/common.cpp
|
||||
1
src/CardinalMiniSep/glfw.cpp
Symbolic link
1
src/CardinalMiniSep/glfw.cpp
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../custom/glfw.cpp
|
||||
Loading…
Add table
Add a link
Reference in a new issue