# Build only selected extensions

**URL:** <https://discourse.slicer.org/t/build-only-selected-extensions/4158>\
**Category:** Support\
**Tags:** build\
**Created:** [September 20, 2018, 6:03pm UTC](https://discourse.slicer.org/t/build-only-selected-extensions/4158 "2018-09-20T18:03:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![torquil](https://avatars.discourse-cdn.com/v4/letter/t/e79b87/32.png) [@torquil](https://discourse.slicer.org/u/torquil)\
**Post date:** [September 20, 2018, 6:03pm UTC](https://discourse.slicer.org/t/build-only-selected-extensions/4158/1 "2018-09-20T18:03:58Z")

</div>

Hi!

I’m building Slicer Git Master myself, and therefore also the Extensions. However, since it takes a long time, I would like to only build a few selected extensions. Is there a more elegant way of doing it than deleting all the \*.s4ext files that are not wanted from the local ExtensionsIndex git repository?

Best regards  
Torquil Sørensen

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [September 20, 2018, 6:18pm UTC](https://discourse.slicer.org/t/build-only-selected-extensions/4158/2 "2018-09-20T18:18:14Z")

</div>

It seems elegant enough for me, but if you want to make this a bit more reproducible then you can fork ExtensionIndex repository and in your fork keep only those s4ext files that you are interested in.

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [September 20, 2018, 6:30pm UTC](https://discourse.slicer.org/t/build-only-selected-extensions/4158/3 "2018-09-20T18:30:34Z")

</div>

> [@torquil](#):
>
> Is there a more elegant way of doing it than deleting all the \*.s4ext files that are not wanted from the local ExtensionsIndex git repository?

Copy them to another folder with a simple script, rather than delete?
