Crafter.Build/tests/DependencyNotes/fixture/base/project.cpp

17 lines
507 B
C++
Raw Permalink Normal View History

// SPDX-License-Identifier: LGPL-3.0-only
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
import std;
import Crafter.Build;
using namespace Crafter;
// lib's dependency, so app's only through lib: in its notes under
// Transitive, gone under Direct.
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>) {
Configuration cfg;
cfg.path = "./";
cfg.name = "base";
cfg.outputName = "base";
cfg.type = ConfigurationType::LibraryStatic;
return cfg;
}