reuk
ba172bc828
Build: Provide option to suppress resourceUsage keys in AU plists
2020-11-26 11:19:44 +00:00
reuk
d173a3d330
CMake: Only enable AUv3 builds under the Xcode generator
2020-11-25 13:16:52 +00:00
reuk
0341f4d24e
CMake: Correctly set AUv3 product type
2020-11-25 13:16:52 +00:00
reuk
350f1f9bc1
CMake: Correctly derive AUv3 bundle name
2020-11-25 13:16:52 +00:00
reuk
f29e2de715
CMake: Propagate more definitions from shared-code to plugin wrappers
...
In order to avoid collisions in the JucePlugin_Build preprocessor
definitions, we were only propagating the JUCE_MODULE_AVAILABLE defs
from the shared code target to the plugin wrapper targets.
After this change, we propagate everything *but* the JucePlugin_Build
definitions.
2020-11-16 10:14:55 +00:00
reuk
5595e7f9f4
CMake: Avoid warnings when requesting AAX/VST2 on iOS
2020-11-16 10:14:54 +00:00
reuk
4a036afe32
CMake: Make it easier to switch between simulator/device builds
...
We now link using `-framework Name` instead of `find_library` on iOS, as
suggested here:
https://cmake.org/cmake/help/v3.19/manual/cmake-toolchains.7.html#switching-between-device-and-simulator
2020-11-16 10:14:54 +00:00
reuk
62c00e6f3c
CMake: Invoke Rez using xcrun, rather than using a hard-coded path
2020-11-16 10:14:54 +00:00
reuk
f27a7c7712
CMake: Fix CMake bug which caused incorrect plugin manufacturer code to be generated
...
Please see the breaking changes doc for details.
2020-10-21 15:41:03 +01:00
reuk
43371ada1a
CMake: Ensure icon is used for standalone plugin targets on iOS
2020-10-20 10:16:13 +01:00
reuk
857ee66b39
CMake: Fix folder naming issue which would cause VS2015 to complain when loading projects
2020-10-02 17:25:58 +01:00
reuk
476924d581
CMake: Avoid including quotation marks in JucePlugin_CFBundleIdentifier
2020-10-02 15:46:37 +01:00
reuk
f51db729c0
CMake: Add explicit check for atomic lib, and link it if necessary
2020-09-24 12:52:45 +01:00
reuk
71c650097e
CMake: Add support for the searchpaths module configuration option
2020-09-22 11:31:28 +01:00
reuk
f5fb04a908
CMake: Add new PLUGIN_NAME option which allows setting the plugin name independently of the PRODUCT_NAME
2020-09-22 11:31:27 +01:00
reuk
c3b53425ad
CMake: Ensure that AU resource forks are copied correctly when building with CMake
2020-09-22 11:31:27 +01:00
reuk
6b1b4cf7f6
CMake: Add option to enable module source groups in IDE projects
2020-09-02 12:09:43 +01:00
reuk
9d5bf9c43c
CMake: Get rid of unused build/install generator expressions in juce_add_module
2020-09-02 10:21:30 +01:00
Tom Poole
6f22faf29d
Linux: Fixed a bug setting the VST3 plug-in bundle arch dir
2020-08-05 15:40:23 +01:00
reuk
75702b839e
CMake: Fix bug where binarydata dependencies were misnamed
2020-07-29 10:57:30 +01:00
reuk
8e19473b52
macOS: Add NSBluetoothAlwaysUsageDescription to macOS plists as well as iOS ones
2020-07-08 09:58:01 +01:00
reuk
cd234565d7
CMake: Fix issue where icons were not applied under the Xcode generator
2020-07-08 09:58:01 +01:00
reuk
d8c3124a46
CMake: Fix xcode paths in rez commandline
2020-07-08 09:58:00 +01:00
reuk
e9321bf565
CMake: Fix demos which failed to build on Windows
...
The PushNotificationsDemo is not supported on Windows, so I've
stopped CMake from configuring it in the first place.
2020-07-06 11:00:15 +01:00
reuk
a3b68f5c60
CMake: Include helper targets, rather than exporting them
...
This change should mean that if JUCE is installed using one compiler
(e.g. clang) and then consumed in a build that uses a different compiler
(e.g. gcc), the helper targets will use the correct flags for both
compilers.
2020-06-30 17:40:54 +01:00
reuk
eaf2dd5ef8
CMake: Fix error when specifying multi-item VST3_CATEGORIES
2020-06-30 17:40:54 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
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