Crafter.Build/tests/DependencyNotes/fixture/app/helper.cpp

17 lines
518 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;
// A second project file in app/: a dependency whose AGENTS.consumer.md, by
// where it sits, is app's own.
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>) {
Configuration cfg;
cfg.path = "./";
cfg.name = "helper";
cfg.outputName = "helper";
cfg.type = ConfigurationType::LibraryStatic;
return cfg;
}