diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-05-18 01:12:13 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-13 17:19:34 -0400 |
commit | f3ba24f2892fa4ccf1c6c198190f43d4da44a761 (patch) | |
tree | bbc6ada8ffdb27248b0c50c84f99dbf3e40ab31c /mesonbuild/backend/vs2010backend.py | |
parent | 036181ef6a3e9890a2e50a3b4d84851b15c52e94 (diff) | |
download | meson-f3ba24f2892fa4ccf1c6c198190f43d4da44a761.zip meson-f3ba24f2892fa4ccf1c6c198190f43d4da44a761.tar.gz meson-f3ba24f2892fa4ccf1c6c198190f43d4da44a761.tar.bz2 |
ninja backend: generate additional meta-rules for test/benchmarks targets
'meson-test-prereq' now depends on any targets that were formerly added
directly to 'all'. Behavior is not changed -- the all target still
depends on this other meta-rule, and thus indirectly depends on all
targets it used to depend on.
It is now possible to build just the targets needed for the testsuite
and then e.g. run `meson test --no-rebuild`.
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r-- | mesonbuild/backend/vs2010backend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py index fd95a6a..32800b5 100644 --- a/mesonbuild/backend/vs2010backend.py +++ b/mesonbuild/backend/vs2010backend.py @@ -358,6 +358,7 @@ class Vs2010Backend(backends.Backend): def generate_solution(self, sln_filename, projlist): default_projlist = self.get_build_by_default_targets() + default_projlist.update(self.get_testlike_targets()) sln_filename_tmp = sln_filename + '~' # Note using the utf-8 BOM requires the blank line, otherwise Visual Studio Version Selector fails. # Without the BOM, VSVS fails if there is a blank line. |