# Use different JucePlugin\_Manufacturer and COMPANY\_NAME (CMake)

**URL:** <https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643>\
**Category:** CMake\
**Created:** [January 23, 2024, 6:38pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643 "2024-01-23T18:38:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcomusic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jcomusic/32/2014_2.png) [@jcomusic](https://forum.juce.com/u/jcomusic)\
**Post date:** [January 23, 2024, 6:38pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/1 "2024-01-23T18:38:33Z")

</div>

Hey!  
I need to switch several existing plugin projects from Projucer to CMake, and I can’t find a way to set JucePlugin\_Manufacturer to a string different from COMPANY\_NAME (COMPANY\_NAME is inserted automatically for PluginManufacturer).  
This was possible in jucer projects. Having a different string there will affect the “display name” of the plugin manufacturer in DAWs.

Are there any solutions that don’t involve modifying the juce cmake files?

Thanks!

---

<div class="post-metadata">

**Author:** ![anon48770766](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@anon48770766](https://forum.juce.com/u/anon48770766)\
**Post date:** [January 25, 2024, 11:40am UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/2 "2024-01-25T11:40:03Z")

</div>

Set the COMPANY\_NAME variable on the command line maybe? Something like:

```auto
$ COMPANY_NAME="MyGreatCompanyName1" cmake build/

```

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [January 25, 2024, 3:41pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/3 "2024-01-25T15:41:08Z")

</div>

You can set all of these when you call `juce_add_plugin`.

For example:

```auto
juce_add_plugin(MyPlugin
        COMPANY_NAME "Modalics"
        PLUGIN_MANUFACTURER_CODE ModX
        ...)

```

etc.

You can read the JUCE CMake API docs (under “docs” in the repo). for more complete info.

---

<div class="post-metadata">

**Author:** ![jcomusic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jcomusic/32/2014_2.png) [@jcomusic](https://forum.juce.com/u/jcomusic)\
**Post date:** [January 25, 2024, 4:00pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/4 "2024-01-25T16:00:50Z")

</div>

I’m not talking about PLUGIN\_MANUFACTURER\_CODE.  
Within the JUCE cmake utility code, JucePlugin\_Manufacturer will be set from COMPANY\_NAME. There is no PLUGIN\_MANUFACTURER to be set.

I’ve read the docs and a lot of the JUCE cmake internals.

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [January 25, 2024, 4:02pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/5 "2024-01-25T16:02:17Z")

</div>

Perhaps I misunderstood. You can set COMPANY\_NAME. Do you need COMPANY\_NAME and Juce\_PluginManufacturer to be different values?

---

<div class="post-metadata">

**Author:** ![jcomusic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jcomusic/32/2014_2.png) [@jcomusic](https://forum.juce.com/u/jcomusic)\
**Post date:** [January 25, 2024, 4:02pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/6 "2024-01-25T16:02:47Z")

</div>

The problem is not setting COMPANY\_NAME, the problem is that as of now it’s impossible to set JucePlugin\_Manufacturer to something else.

See JUCEUtils.cmake:

```auto
JucePlugin_Manufacturer="$<TARGET_PROPERTY:${target},JUCE_COMPANY_NAME>"

```

---

<div class="post-metadata">

**Author:** ![jcomusic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jcomusic/32/2014_2.png) [@jcomusic](https://forum.juce.com/u/jcomusic)\
**Post date:** [January 25, 2024, 4:04pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/7 "2024-01-25T16:04:07Z")

</div>

Exactly that. It was possible in jucer projects, and ideally I’ll find a way to produce the exact same configuration the plugins had before moving to CMake… 😕

---

<div class="post-metadata">

**Author:** ![eyalamir](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eyalamir/32/2978_2.png) [@eyalamir](https://forum.juce.com/u/eyalamir)\
**Post date:** [January 25, 2024, 4:05pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/8 "2024-01-25T16:05:53Z")

</div>

Not tested, but have you tried (after calling `juce_add_plugin`)

```auto
target_compile_definitions(MyPlugin PUBLIC
            JucePlugin_Manufacturer="Something Else")

```

---

<div class="post-metadata">

**Author:** ![jcomusic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jcomusic/32/2014_2.png) [@jcomusic](https://forum.juce.com/u/jcomusic)\
**Post date:** [January 25, 2024, 4:07pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/9 "2024-01-25T16:07:47Z")

</div>

Yep, tried overriding it, no luck. I managed to force-replace it, but there is more going on under the hood - turns out just changing the preprocessor define isn’t enough.

---

<div class="post-metadata">

**Author:** ![jcomusic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jcomusic/32/2014_2.png) [@jcomusic](https://forum.juce.com/u/jcomusic)\
**Post date:** [January 25, 2024, 4:13pm UTC](https://forum.juce.com/t/use-different-juceplugin-manufacturer-and-company-name-cmake/59643/10 "2024-01-25T16:13:09Z")

</div>

To provide a little context why this matters:  
Imagine a Company called “SuperCorp”, and SuperCorp has a line of audio plugins, which they market under the label/brand “SuperAudio”.

So “CoolPlugin”, which is made by the company “SuperCorp” should be presented as “CoolPlugin by SuperAudio”, but in any place the actual legal entity is required it has to mention “SuperCorp”.

For that reason, in the Projucer project, Plugin Manufacturer was set to “SuperAudio”, while Company was set to “SuperCorp”.

The closest way I was able to kind-of translate this scenario so far was using JUCE\_COMPANY\_COPYRIGHT=“SuperCorp” and JUCE\_COMPANY\_NAME=“SuperAudio”.
