Files
CMake/Source/cmCxxModuleUsageEffects.h
Daniel Tierney 5c00749c5d cmCxxModuleUsageEffects: Collect and apply BMI compatibility requirements
This gathers properties and other details affecting Built Module Interface (BMI)
compatibility for C++ module importers and applies them as necessary to
synthetic targets, which represent a specific module import scenario.
2026-02-09 14:16:18 -05:00

27 lines
569 B
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
#include <vector>
#include "cmListFileCache.h"
class cmGeneratorTarget;
class cmTarget;
class cmCxxModuleUsageEffects
{
public:
cmCxxModuleUsageEffects(cmGeneratorTarget const* gt);
void ApplyToTarget(cmTarget* tgt);
std::string const& GetHash() const;
private:
std::string Hash;
std::vector<BT<std::string>> CompileFeatures;
};