NAME
Makefile::Update::MSBuild - Update list of sources and headers in MSBuild projects.
VERSION
version 0.4
SYNOPSIS
Given an MSBuild project project.vcxproj and its associated filters file projects.vcxproj.filters, the functions in this module can be used to update the list of files in them to correspond to the given ones.
use Makefile::Update::MSBuild;
upmake_msbuild_project('project.vcxproj', \@sources, \@headers);
FUNCTIONS
update_msbuild_project
Update sources and headers in an MSBuild project and filter files.
Pass the path of the project to update or a hash with the same keys as used by Makefile::Update::upmake as the first parameter and the references to the sources and headers arrays as the subsequent ones.
Returns 1 if any changes were made, either to the project itself or to its associated .filters file.
update_msbuild
Update sources and headers in an MSBuild project.
Parameters: input and output file handles and array references to the sources and the headers to be used in this project.
Returns 1 if any changes were made.
update_msbuild_filters
Update sources and headers in an MSBuild filters file.
Parameters: input and output file handles, array references to the sources and the headers to be used in this project and a callback used to determine the filter for the new files.
Returns 1 if any changes were made.
SEE ALSO
Makefile::Update, Makefile::Update::VCProj
AUTHOR
Vadim Zeitlin <vz-cpan@zeitlins.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Vadim Zeitlin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.