diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-17 14:28:38 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-22 16:05:09 +0300 |
commit | 7bb5f8273601ad84e2d70794157d29557d80e841 (patch) | |
tree | 4dd4db50404e0dd471ec978588fcab4e73a34b99 /mesonbuild/backend/ninjabackend.py | |
parent | 808d229c3740444e8149ece825c43a81d2c857ad (diff) | |
download | meson-7bb5f8273601ad84e2d70794157d29557d80e841.zip meson-7bb5f8273601ad84e2d70794157d29557d80e841.tar.gz meson-7bb5f8273601ad84e2d70794157d29557d80e841.tar.bz2 |
Added install target to VS. Closes #3841.
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r-- | mesonbuild/backend/ninjabackend.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index c04a470..998f5f9 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/mesonbuild/backend/ninjabackend.py @@ -668,9 +668,7 @@ int dummy; self.create_target_alias('meson-coverage-html', outfile) def generate_install(self, outfile): - install_data_file = os.path.join(self.environment.get_scratch_dir(), 'install.dat') - - d = self.create_install_data_files() + self.create_install_data_files() elem = NinjaBuildElement(self.all_outputs, 'meson-install', 'CUSTOM_COMMAND', 'PHONY') elem.add_dep('all') elem.add_item('DESC', 'Installing files.') @@ -680,9 +678,6 @@ int dummy; # Alias that runs the target defined above self.create_target_alias('meson-install', outfile) - with open(install_data_file, 'wb') as ofile: - pickle.dump(d, ofile) - def generate_tests(self, outfile): self.serialize_tests() cmd = self.environment.get_build_command(True) + ['test', '--no-rebuild'] |