1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00
Commit graph

34 commits

Author SHA1 Message Date
ed
67925d384f Updated main README with CMake support info and changed docs extension from .txt to .md 2020-06-29 08:30:00 +01:00
reuk
f79c49a171
CMake: Make IDE folder structure mirror disk structure 2020-06-01 17:54:12 +01:00
reuk
074f5077fc
Docs: Fix references to docs/CMake API.txt 2020-06-01 13:40:08 +01:00
reuk
6688bbf08c
CMake: Stop automatically linking juce_audio_plugin_client to plugin targets
This change gives projects more flexibility to e.g. pre-build
juce_audio_plugin_client into a staticlib and to reuse it in several
targets.
2020-05-20 11:08:59 +01:00
reuk
15ff62f384
CMake: Add default vst/vst3 copy locations on Linux 2020-05-14 18:39:31 +01:00
reuk
5e5ac203b9
CMake: Link necessary libraries for hosting plugins
The CoreAudioKit (and on macOS, AudioUnit) frameworks are required to
host AudioUnit plugins. Hosts (especially those which don't use the
`juce_audio_utils` module) should use the new `PLUGINHOST_AU` parameter
to `juce_add_*` in order to add the correct preprocessor definition and
link the necessary frameworks.
2020-05-14 16:44:50 +01:00
reuk
1d39710144 CMake: Add -Wl,--no-undefined to linker flags on Linux
Fixes an issue where VST3 plugins would appear to link successfully, but
fail to load in hosts due to missing symbols.
2020-05-14 11:40:20 +01:00
reuk
c9849e6710
MinGW: Disable VST3 builds under MinGW 2020-05-11 11:28:28 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
reuk
688581ff39
CMake: Make binary data targets depend on their inputs 2020-05-11 10:41:33 +01:00
reuk
f0642979f9
CMake: Fix issue with VST, VST3, and Unity targets
On Linux, all these target kinds tried to create products with the same
name. Now we place each plugin target into a folder named after the
plugin kind, which allows each plugin kind to produce artefacts which
share names.
2020-05-05 12:28:47 +01:00
reuk
bf51d2c076
CMake: Use juce_add_modules to import modules from install tree
This change means that imported juce modules will be made available both
with and without a namespace prefix, e.g. `juce_core` and
`juce::juce_core` will both be created.

This change allows custom modules to specify dependencies without a
juce:: prefix, which allows the modules to be used with the Projucer, or
under CMake with JUCE in a subdirectory, or under CMake with JUCE
installed to the system.
2020-05-05 12:28:46 +01:00
reuk
6f016aa03b CMake: Move helper targets to dedicated file 2020-05-05 00:06:48 +01:00
reuk
05d0560c5b CMake: Fix AudioUnit link error
Building AudioUnits with an older CMAKE_OSX_DEPLOYMENT_TARGET
(e.g. 10.9) but a newer sdk (e.g. 10.15) would result in link
failures. Linking against the AudioUnit framework supplies the
missing symbols.

AudioUnits built with the Projucer also link CoreAudioKit, so
we do that in CMake too for consistency.
2020-05-05 00:06:48 +01:00
reuk
5355448507 CMake: Fix VST3 naming on Linux
The module binary now has the extension `.so` instead of `.vst3`.
2020-04-29 15:19:14 +01:00
reuk
440a9690b4 CMake: Add support for windowLibs, OSXLibs, and iOSLibs when using modules with CMake 2020-04-28 13:57:35 +01:00
reuk
e19b724ec8 CMake: Add missing targets to install set 2020-04-28 13:57:35 +01:00
reuk
69469068a9 CMake: Reexport DEBUG/NDEBUG from shared code target 2020-04-27 10:22:06 +01:00
reuk
702940301c CMake: Fix install mechanism on linux 2020-04-27 10:22:06 +01:00
reuk
a1401037f0 CMake: Allow module headers with a .hpp extension 2020-04-27 10:22:06 +01:00
reuk
0a2e4191b3 CMake: Allow custom header names for BinaryData targets
This change helps to avoid ambiguity in includes when building projects
which contain more than one "BinaryData.h".
2020-04-27 10:22:06 +01:00
reuk
d817519f39 CMake: Fail configuration if copy is requested but destination is not set 2020-04-27 10:22:06 +01:00
reuk
6c71d96188 CMake: Add useful defaults for iphone/ipad screen orientations 2020-04-27 10:22:06 +01:00
reuk
eb01832c48 CMake: Add targets for recommended flags 2020-04-27 10:22:06 +01:00
Tom Poole
6cb75d9d2c Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
47508cb0a0 CMake: Fix issue where pkgconfig dependencies only had visibility within the JUCE source tree 2020-04-21 12:33:50 +01:00
reuk
12a41d7da9 CMake: Prefer IN LISTS to IN ITEMS in foreach loops 2020-04-16 12:18:48 +01:00
reuk
f0ea6cb1d6 CMake: Fix bug where incorrect audio unit category string was added to plist 2020-04-16 12:18:48 +01:00
reuk
c244bbbdb0 CMake: Make check slightly more idiomatic 2020-04-14 22:07:27 +01:00
reuk
28ef311668 CMake: Fix issue where overwriting inherited properties was broken 2020-04-14 19:22:36 +01:00
reuk
c9872ce3a6 CMake: Allow users to query which plugin targets were created 2020-04-14 13:31:54 +01:00
reuk
2ca69e8f70 Projucer: Stop requiring JuceHeader to be included in projects 2020-04-13 13:16:05 +01:00
reuk
ece5644a20 CMake: Add support for building JUCE projects with CMake 2020-04-13 12:10:11 +01:00