<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/meson.git/docs/markdown/SourceSet-module.md, branch xcodeobjc</title>
<subtitle>github.com: mesonbuild/meson.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/'/>
<entry>
<title>Capitalize "Meson" consistently as it is a proper name. [skip ci]</title>
<updated>2021-01-31T19:49:20+00:00</updated>
<author>
<name>Jussi Pakkanen</name>
<email>jpakkane@gmail.com</email>
</author>
<published>2021-01-31T16:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=474f4813c477c30bed842baa706170e5e902838c'/>
<id>474f4813c477c30bed842baa706170e5e902838c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrap long text lines in docs. [skip ci]</title>
<updated>2021-01-30T16:19:59+00:00</updated>
<author>
<name>Jussi Pakkanen</name>
<email>jpakkane@gmail.com</email>
</author>
<published>2021-01-30T11:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=f72ee8e742a171db74ed32b54b85953b8dfe1d77'/>
<id>f72ee8e742a171db74ed32b54b85953b8dfe1d77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sourceset: add all_dependencies() method</title>
<updated>2019-08-04T18:44:52+00:00</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2019-07-24T14:46:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=8ba14057421928b15a485214ac7023d246bfab7c'/>
<id>8ba14057421928b15a485214ac7023d246bfab7c</id>
<content type='text'>
'if_true' sources should be built with their dependencies, as
illustrated by test case change.

Ideally, I think we would want only the files with the dependencies to
be built with the flags, but that would probably change the way
sourceset are used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'if_true' sources should be built with their dependencies, as
illustrated by test case change.

Ideally, I think we would want only the files with the dependencies to
be built with the flags, but that would probably change the way
sourceset are used.
</pre>
</div>
</content>
</entry>
<entry>
<title>new module "sourceset" to match source file lists against configuration data</title>
<updated>2019-05-22T10:09:09+00:00</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2019-03-06T13:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/meson.git/commit/?id=d894c48660a573f257f76fe075e512415fdd0f91'/>
<id>d894c48660a573f257f76fe075e512415fdd0f91</id>
<content type='text'>
In QEMU a single set of source files is built against many different
configurations in order to generate many executable.  Each executable
includes a different but overlapping subset of the source files; some
of the files are compiled separately for each output, others are
compiled just once.

Using Makefiles, this is achieved with a complicated mechanism involving
a combination of non-recursive and recursive make; Meson can do better,
but because there are hundreds of such conditional rules, it's important
to keep meson.build files brief and easy to follow.  Therefore, this
commit adds a new module to satisfy this use case while preserving
Meson's declarative nature.

Configurations are mapped to a configuration_data object, and a new
"source set" object is used to store all the rules, and then retrieve
the desired set of sources together with their dependencies.

The test case shows how extract_objects can be used to satisfy both
cases, i.e. when the object files are shared across targets and when
they have to be separate.  In the real-world case, a project would use
two source set objects for the two cases and then do
"executable(..., sources: ... , objects: ...)".  The next commit
adds such an example.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In QEMU a single set of source files is built against many different
configurations in order to generate many executable.  Each executable
includes a different but overlapping subset of the source files; some
of the files are compiled separately for each output, others are
compiled just once.

Using Makefiles, this is achieved with a complicated mechanism involving
a combination of non-recursive and recursive make; Meson can do better,
but because there are hundreds of such conditional rules, it's important
to keep meson.build files brief and easy to follow.  Therefore, this
commit adds a new module to satisfy this use case while preserving
Meson's declarative nature.

Configurations are mapped to a configuration_data object, and a new
"source set" object is used to store all the rules, and then retrieve
the desired set of sources together with their dependencies.

The test case shows how extract_objects can be used to satisfy both
cases, i.e. when the object files are shared across targets and when
they have to be separate.  In the real-world case, a project would use
two source set objects for the two cases and then do
"executable(..., sources: ... , objects: ...)".  The next commit
adds such an example.
</pre>
</div>
</content>
</entry>
</feed>
