mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-01 04:07:15 +00:00
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.
27 lines
569 B
C++
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;
|
|
};
|