-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmcpp.toml
More file actions
31 lines (27 loc) · 1.05 KB
/
Copy pathmcpp.toml
File metadata and controls
31 lines (27 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "plugins"
namespace = "mcpp"
version = "0.2.0"
description = "Official mcpp build plugins: rule packages under mcpp.rules.*, build-time utilities under mcpp.tools.*, each member selected by a feature"
license = "Apache-2.0"
authors = ["mcpp-community"]
repo = "https://github.com/mcpp-community/mcpp-plugins"
[language]
standard = "c++23"
modules = true
import_std = true
# The lib root alone is compiled for a consumer that activates no feature. Each
# member of the collection is a module interface unit that one feature adds to
# the source set; mcpp compiles every interface unit among the resolved
# sources as a host module under the name the unit declares (2026.9.5.3+).
[build]
sources = ["src/plugins.cppm"]
[features]
default = []
rules-cuda = { sources = ["rules/cuda.cppm"] }
rules-hip = { sources = ["rules/hip.cppm"] }
rules-spirv = { sources = ["rules/spirv.cppm"] }
rules-sycl = { sources = ["rules/sycl.cppm"] }
tools-embed = { sources = ["tools/embed.cppm"] }
[targets.plugins]
kind = "lib"