18 lines
612 B
C++
18 lines
612 B
C++
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||
|
|
|
||
|
|
import std;
|
||
|
|
import Crafter.Build;
|
||
|
|
using namespace Crafter;
|
||
|
|
|
||
|
|
// app's host tooling, named by its `#pragma crafter dependency`. Built for
|
||
|
|
// the host before app's project.cpp compiles, so it is a library with no
|
||
|
|
// sources: an empty archive is all the pre-pass needs.
|
||
|
|
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>) {
|
||
|
|
Configuration cfg;
|
||
|
|
cfg.path = "./";
|
||
|
|
cfg.name = "tool";
|
||
|
|
cfg.outputName = "tool";
|
||
|
|
cfg.type = ConfigurationType::LibraryStatic;
|
||
|
|
return cfg;
|
||
|
|
}
|