<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/codebrainz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/codebrainz">@codebrainz</a> I simply wanted to have a single meson.build where the import stuff is in. data, icons, po etc is rarely touched and can be in a separate meson.build so they don't create too much noise. But for the main build system work I don't want to constantly jump between build files.</p>
<p>Not putting meson.build into imported code was only a minor aspect but it's another advantage.</p>
<blockquote>
<p>Don't build all the things into helper static libs (Scintilla, Ctags, etc) which are not distributed and only used to build the shared libgeany. These could all be built into the single libgeany shared_library directly.</p>
</blockquote>
<p>I do that because they (can) have different CFLAGS/CXXFLAGS. You cannot set those per source file. Stuffing everything into one <code>shared_library</code> declaration (even mixed C/C++) can possibly be done but has no real advantage.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2761#issuecomment-896607353">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZDAA3MHEIAXLTIFJDT4IWJPANCNFSM4ZDZAFLA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6YVKVTWED2M3WH73DT4IWJPA5CNFSM4ZDZAFLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGVYSI6I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2761#issuecomment-896607353",
"url": "https://github.com/geany/geany/pull/2761#issuecomment-896607353",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>