# Break app into multiple executables

**URL:** <https://ifnotnil.com/t/break-app-into-multiple-executables/3859>\
**Category:** Xojo\
**Created:** [29 February 2024 04:12 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859 "2024-02-29T04:12:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![samRowlands](https://ifnotnil.com/user_avatar/ifnotnil.com/samrowlands/32/121_2.png) [@samRowlands](https://ifnotnil.com/u/samRowlands)\
**Post date:** [29 February 2024 04:12 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859/1 "2024-02-29T04:12:45Z")

</div>

> **[Break up application into multiple EXE's](https://forum.xojo.com/t/break-up-application-into-multiple-exes/79386)**
>
> Just looking for ideas here so don’t shoot me. We have a very large application that consists of many interrelated segments that is currently running in Visual Foxpro using dbf files. Visual Foxpro was discontinued many moons ago, but this...

I’mma refrain from answering there, because I’m one of the “complainers” and too negative, but I would honestly recommend this guy steer very clear of Xojo, if he wants to do this kind thing.

Using Xojo, each executable can take 40 mb of disk space. Once he adds plugins and everything, he’s gonna make that half a gb app look tiny.

If he wants to do that, he’d be way better off using platform native tools, where he get executables at low as 1 or 2 MB.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [29 February 2024 23:48 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859/2 "2024-02-29T23:48:19Z")

</div>

A single app with multiple helper call compiled with th same version of Xojo can share one set of libs, plugin dylibs, etc

Its still not super trim but this can trim a lot of duplication out

---

<div class="post-metadata">

**Author:** ![samRowlands](https://ifnotnil.com/user_avatar/ifnotnil.com/samrowlands/32/121_2.png) [@samRowlands](https://ifnotnil.com/u/samRowlands)\
**Post date:** [1 March 2024 01:12 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859/3 "2024-03-01T01:12:50Z")

</div>

I started making command line apps out of regular apps, just so I could this. The trouble was, I’d forget to re-compile 'em all and that lead to crashes.

I really really really like how Xcode handles helpers, you build 'em in the same project and let Xcode manage it. Ironically, you don’t need libs and frameworks 😉

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [1 March 2024 14:35 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859/4 "2024-03-01T14:35:50Z")

</div>

> [@samRowlands](#):
>
> I started making command line apps out of regular apps, just so I could this. The trouble was, I’d forget to re-compile 'em all and that lead to crashes.

Absolutely  
If a person relies on this interdependency then when packaging things up you’d seriously want to make sure, somehow, everything had been recompiled  
Its a pain but it can be done

> [@samRowlands](#):
>
> I really really really like how Xcode handles helpers, you build 'em in the same project and let Xcode manage it.

That WOULD be nice for Xojo too  
A single project that had multiple targets - and so many other things

> [@samRowlands](#):
>
> Ironically, you don’t need libs and frameworks 😉

MacOS already ships them all so it would only be extra frameworks and additions like that you’d ever need to include in the app bundle

In Xojo’s case those are the code that bridge from Xojo to OS functions

Would be nice if they could/would break them up to make it possible to strip more granularly but they seem to be adding accidental dependencies like PDF and Charts

🤷‍♂️

---

<div class="post-metadata">

**Author:** ![samRowlands](https://ifnotnil.com/user_avatar/ifnotnil.com/samrowlands/32/121_2.png) [@samRowlands](https://ifnotnil.com/u/samRowlands)\
**Post date:** [1 March 2024 23:31 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859/5 "2024-03-01T23:31:51Z")

</div>

With Xojo’s Declares, they could do away with their frameworks altogether.

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [2 March 2024 00:05 UTC](https://ifnotnil.com/t/break-app-into-multiple-executables/3859/6 "2024-03-02T00:05:43Z")

</div>

Not entirely  
But yes they could probably trim them down a lot
