17 lines
524 B
C++
17 lines
524 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
import std;
|
||
|
|
import Crafter.Build;
|
||
|
|
using namespace Crafter;
|
||
|
|
|
||
|
|
// Only app's test depends on it. A plain build never looks at the tests, so
|
||
|
|
// its notes must not reach app.
|
||
|
|
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>) {
|
||
|
|
Configuration cfg;
|
||
|
|
cfg.path = "./";
|
||
|
|
cfg.name = "testonly";
|
||
|
|
cfg.outputName = "testonly";
|
||
|
|
cfg.type = ConfigurationType::LibraryStatic;
|
||
|
|
return cfg;
|
||
|
|
}
|