falkTX
4d783d76cb
Use wasapi on windows standalones
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
f3c35fe5f8
Only set WIN32_EXECUTABLE for mingw
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
3a5b87b7d8
cmake: reorder some definitions
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
0b5d0c186b
cmake: Build win32 gui application if custom UI available
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
cc053280af
cmake: add dgl/src/Layout.cpp to build, enable dbus if available
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
AnClark
413f7b136c
CMake: Add SDL2 dependency libs on Win32 JACK build
SDL2 depends on some native Win32 system libraries when building on
Windows.
2 years ago
AnClark Liu
8a545127cd
CMake: Fix dpf__add_dgl_system_libs link error on external UI build
Fix issue mentioned in DISTHRO/DPF#402 .
2 years ago
falkTX
da582de935
Initial implementation of modgui over wasm
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
9b300e6983
Document NO_SHARED_RESOURCES cmake option, reorder
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
AnClark Liu
a338aa6559
CMake: Add external UI support
Squashed commit of the following:
commit d1a6823458
Author: AnClark <clarklaw4701@qq.com>
Date: Thu Dec 15 09:03:18 2022 +0800
Refactor CMake var _dgl_library -> _dgl_has_ui in plugin build functions
Plugin build functions (dpf__build_<PLUGIN_TYPE>) invokes
dpf__add_ui_main() which has a parameter HAS_UI. This parameter acts
like a switch, controlling if DistrhoPluginMain.cpp shall be compiled.
Before this patch, value of _dgl_library is passed into HAS_UI. However,
this will make it ambiguous. Variable _dgl_library should only be served
as a flag of DGL UI type, and should not be a switch of whether to build
DistrhoPluginMain.cpp or not.
What's more, since DPF's CMake build system starts to support external
UI, which is not limited to DGL, simply checking _dgl_library for
dgl__add_ui_main() is no longer relevant.
So, instead, I use variable _dgl_has_ui which keeps to the point. It
will be set to ON if _dgl_library is non-empty or _dgl_external is ON.
commit 2d162a16b6
Author: AnClark Liu <anclarkliu@outlook.com>
Date: Tue Dec 13 23:13:49 2022 +0800
Build ExternalUI and EmbedExternalUI example plugins with cmake
Note: Build CLAP versions as well.
commit 2cf060910e
Author: AnClark Liu <anclarkliu@outlook.com>
Date: Tue Dec 13 23:07:40 2022 +0800
Add external UI support for cmake
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
85cd6c40df
Use -fno-gnu-unique for gcc in cmake builds
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
66a2cf2013
Fix cmake windows build of native audio standalone
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
ec87b4069d
Use CMAKE_CROSSCOMPILING_EMULATOR when generating LV2 ttl
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
93cf1535a4
RtAudio stuff needs threads on non mac/win
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
4b284735c9
Define dpf__target_link_directories for compat with old cmake
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
a8c8547a45
Enable standalone native audio fallback for cmake builds
2 years ago
falkTX
4b180f0b9a
Add NO_SHARED_RESOURCES cmake option
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
30cf55aa15
Support clap in cmake, always define HAVE_JACK
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
fe9b6c233d
Fix previous commit, only use 1 audio port in clap for now
2 years ago
falkTX
982f27632c
Give up on fancy macOS namespace
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
b139002d38
Revert previous commit, enable xcursor for cmake builds
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
51ca273f60
Experiment always building pugl on macOS cmake
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
493837049e
Remove superfulous line
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
4ecbd24570
Fix build
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
2711cbefa4
Fix VST3 plugin filename for windows builds with cmake
Closes #340
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
253edfc88a
Enable VST3 build on MSVC, remove C++98 workaround
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
JP Cimalando
87a195a26b
cmake: support building VST3 ( #330 )
* cmake: support building VST3
* cmake: let VST3 use the same bundle files as VST2
* Reposition the V3_API specifier for MSVC
* Disable VST3 on MSVC until fixed
3 years ago
falkTX
72423e1edd
Mention VST3 in cmake
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
Jean Pierre Cimalando
848e28cd36
cmake: use symbol export lists
3 years ago
Jean Pierre Cimalando
953841754f
cmake: Generate the VST as a bundle on macOS
3 years ago
Jean Pierre Cimalando
1a24ca6c7d
cmake: set a distinct output folder for MSVC implib
3 years ago
falkTX
6125f48a68
Fix build without opengl
3 years ago
falkTX
212a7303b5
Fix typo (leading to macOS cmake build error)
3 years ago
falkTX
b2f08b318f
CoreFoundation is needed too
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
4f6bcba446
Try to fix cmake macOS build
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
757a4cf62c
Forgot 1 piece for cmake
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
2fe6b274d1
Start of common event handlers, split off button as a start
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
55834c253b
Adapt cmake for file name change
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
Jean Pierre Cimalando
40e93a475a
cmake: adapt to load libjack dynamically
3 years ago
Jean Pierre Cimalando
7eb5b811d1
Fix cmake to recognize the parameter FILES_COMMON
3 years ago
Jean Pierre Cimalando
a2958f228f
cmake: allow to build on mingw using static libs
4 years ago
Jean Pierre Cimalando
8cc6eb8f2f
Other fixes to enable msvc builds
4 years ago
Jean Pierre Cimalando
ebec5a3608
cmake: option -mstackrealign on win32 builds
4 years ago
Jean Pierre Cimalando
2a80ce043b
cmake: generate the macOS namespace for pugl
4 years ago
Jean Pierre Cimalando
a52213d3f8
cmake: add checks for other X11 libraries
4 years ago
Jean Pierre Cimalando
3bfe7ccc7a
CMake updates for pugl
4 years ago
Jean Pierre Cimalando
e248d6cb8a
Fix attempt of cmake link directories
4 years ago
Jean Pierre Cimalando
6cd2b4062d
Revert "cmake: fix linking against libs in custom prefix"
This reverts commit b3dba5700d
.
4 years ago
falkTX
b3dba5700d
cmake: fix linking against libs in custom prefix
4 years ago
Jean Pierre Cimalando
03d6bb148b
cmake: rename target vst to vst2
4 years ago