# Default modules \[FR\]

**URL:** <https://forum.juce.com/t/default-modules-fr/27020>\
**Category:** The Projucer\
**Created:** [March 30, 2018, 6:45am UTC](https://forum.juce.com/t/default-modules-fr/27020 "2018-03-30T06:45:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalala](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lalala/32/8577_2.png) [@lalala](https://forum.juce.com/u/lalala)\
**Post date:** [March 30, 2018, 6:45am UTC](https://forum.juce.com/t/default-modules-fr/27020/1 "2018-03-30T06:45:46Z")

</div>

It would be cool to have a field in the preferences so that the user can specify the modules he wants by default; something like `"juce_core;juce_video;anotherModuleIWant"`

(Otherwise I suggest to remove the `juce_video` (and perhaps also the `juce_opengl` ?) from the default modules that are added when we create a new project.  
Perhaps you don’t want to remove them from all kind of projects, but I think that the `juce_video` module is rarely used for the “audio plugins” for instance.)

---

<div class="post-metadata">

**Author:** ![lalala](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/lalala/32/8577_2.png) [@lalala](https://forum.juce.com/u/lalala)\
**Post date:** [October 21, 2019, 9:59pm UTC](https://forum.juce.com/t/default-modules-fr/27020/2 "2019-10-21T21:59:37Z")

</div>

> I suggest to remove the `juce_video` from the default modules that are added when we create a new project.

I see that has been done, so thank you!

I would also suggest to disable the `JUCE_WEB_BROWSER` option of the `juce_gui_extra` module by default. I’m pretty sure most of the projects don’t use that?

perhaps the `JUCE_USE_FLAC` and `JUCE_USE_OGGVORBIS` options in `juce_audio_formats` could be disabled by default too?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [October 22, 2019, 8:35am UTC](https://forum.juce.com/t/default-modules-fr/27020/3 "2019-10-22T08:35:13Z")

</div>

I think disabling internals of a module would result in quite some confusion. I wouldn’t expect, that I have to enable specific file formats, even though I agree, in case of a normal DSP plugin, they might not be used very often.

It seems you need a way to inject your private template, which would be an amazing feature (also allowing to modify the generated boilerplate), but that might not make it above the noise floor in the backlog…

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [October 22, 2019, 9:00am UTC](https://forum.juce.com/t/default-modules-fr/27020/4 "2019-10-22T09:00:42Z")

</div>

I may be entirely wrong about this, but if you don’t explicitly use a specific part of the codebase, then the linker doesn’t put it in your binary does it? I suppose it might help compilation times if a load of unused features are `#ifdefed` out.

> [@daniel](#):
>
> It seems you need a way to inject your private template, which would be an amazing feature (also allowing to modify the generated boilerplate)

Custom Templates would be an incredibly useful feature, but it only took a few hours of writing some bash scripts to do that myself, so I would imagine this is the mindset of JUCE team: if you want some specific templates, DIY, because they have bigger fish to fry!

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [October 22, 2019, 9:04am UTC](https://forum.juce.com/t/default-modules-fr/27020/5 "2019-10-22T09:04:21Z")

</div>

Especially for the WebBrowser and the VideoComponent it matters, it adds libraries and linker flags, which is especially for the web browser on linux a bit annoying.  
In release you would usually add “strip unused symbols”, which removes the unused code. Initially afaik all goes into the linker.
