Revision be61d8bb558a0fe6ceb66d228756c09c15b35482 authored by Dmitri Naumov on 16 June 2023, 12:54:40 UTC, committed by Dmitri Naumov on 16 June 2023, 13:00:31 UTC
1 parent cfd2880
CommandLineArgumentParser.h
/**
* \brief Declaration of CommandLineArgumentParser.
* \file
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include <string>
#include <vector>
#pragma once
struct CommandLineArguments final
{
std::string reference_path;
std::string project;
std::vector<std::string> xml_patch_file_names;
std::string outdir;
std::string mesh_dir;
std::string script_dir;
std::string log_level;
bool write_prj;
bool nonfatal;
bool reference_path_is_set;
#ifndef _WIN32
bool enable_fpe_is_set;
#endif // _WIN32
};
CommandLineArguments parseCommandLineArguments(
int argc, char* argv[], bool const exit_on_exception = true);
Computing file changes ...