mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 20:53:52 +00:00
Added include-what-you-use pragmas to: * let IWYU point users to the main include file CLI/CLI.hpp * tell IWYU that CLI/CLI.hpp is the main exporting header. This should fix #816 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Philip Top <phlptp@gmail.com>
28 lines
632 B
C++
28 lines
632 B
C++
// Copyright (c) 2017-2024, University of Cincinnati, developed by Henry Schreiner
|
|
// under NSF AWARD 1414736 and by the respective contributors.
|
|
// All rights reserved.
|
|
//
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#pragma once
|
|
|
|
// IWYU pragma: private, include "CLI/CLI.hpp"
|
|
|
|
// [CLI11:public_includes:set]
|
|
#include <algorithm>
|
|
#include <string>
|
|
#include <vector>
|
|
// [CLI11:public_includes:end]
|
|
|
|
#include "App.hpp"
|
|
#include "FormatterFwd.hpp"
|
|
|
|
namespace CLI {
|
|
// [CLI11:formatter_hpp:verbatim]
|
|
// [CLI11:formatter_hpp:end]
|
|
} // namespace CLI
|
|
|
|
#ifndef CLI11_COMPILE
|
|
#include "impl/Formatter_inl.hpp" // IWYU pragma: export
|
|
#endif
|