/** * \file * \copyright * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #pragma once #include #include namespace BaseLib { /** * \brief Applies includes and patch files to project file. * * \param prj_stream The processed prj as a stringstream. * \param filepath The prj file. * \param patch_files Optional patch files. * \param write_prj Write the processed project file to disk? * \param out_directory The directory to write the processed file to. */ void prepareProjectFile(std::stringstream& prj_stream, const std::string& filepath, const std::vector& patch_files, bool write_prj, const std::string& out_directory); } // namespace BaseLib