mirror of
https://github.com/Kitware/CMake.git
synced 2025-05-10 15:12:19 +08:00

When importing a C++ module, there may be requirements imposed by the importer so that the compiler can reliably read the BMI. For example, the standard used in the importer may need to also apply to the imported BMI. Right now, there are no tracked requirements. As we learn more, this class can start tracking more information. See: https://wg21.link/p2581r2
23 lines
475 B
C++
23 lines
475 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
#pragma once
|
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
|
|
|
#include <string>
|
|
|
|
class cmGeneratorTarget;
|
|
class cmTarget;
|
|
|
|
class cmCxxModuleUsageEffects
|
|
{
|
|
public:
|
|
cmCxxModuleUsageEffects(cmGeneratorTarget const* gt);
|
|
|
|
void ApplyToTarget(cmTarget* tgt);
|
|
std::string const& GetHash() const;
|
|
|
|
private:
|
|
std::string Hash;
|
|
};
|