-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathforge.recipe.toml
More file actions
126 lines (101 loc) · 3.7 KB
/
Copy pathforge.recipe.toml
File metadata and controls
126 lines (101 loc) · 3.7 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#:schema https://raw.githubusercontent.com/razterizer/forge/main/schemas/forge.recipe.schema.json
[project]
name = "8-Bit Audio Emulator Lib"
version = "1.0.3"
[target.8Beat]
type = "header_only"
cpp_std = 20
public_headers = ["include/8Beat/ADSR.h", "include/8Beat/AudioSourceHandler.h", "include/8Beat/ChipTuneEngine.h", "include/8Beat/ChipTuneEngineListener.h", "include/8Beat/ChipTuneEngine_Internals/ChipTuneEngineParser.h", "include/8Beat/SFX.h", "include/8Beat/Spectrum.h", "include/8Beat/Synthesizer.h", "include/8Beat/Waveform.h", "include/8Beat/WaveformGeneration.h", "include/8Beat/WaveformHelper.h"]
include_dirs = ["include", "include/8Beat"]
[target.unit_tests]
type = "executable"
cpp_std = 20
sources = ["Tests/unit_tests.cpp"]
dependencies = ["8Beat"]
test = true
[target.demo_1]
type = "executable"
cpp_std = 20
sources = ["demos/demo_1.cpp"]
dependencies = ["8Beat"]
[target.demo_10]
type = "executable"
cpp_std = 20
sources = ["demos/demo_10.cpp"]
dependencies = ["8Beat"]
[target.demo_3]
type = "executable"
cpp_std = 20
sources = ["demos/demo_3.cpp"]
dependencies = ["8Beat"]
[target.demo_4]
type = "executable"
cpp_std = 20
sources = ["demos/demo_4.cpp"]
dependencies = ["8Beat"]
[target.demo_5]
type = "executable"
cpp_std = 20
sources = ["demos/demo_5.cpp"]
dependencies = ["8Beat"]
[target.demo_6]
type = "executable"
cpp_std = 20
sources = ["demos/demo_6.cpp"]
dependencies = ["8Beat"]
[target.demo_7]
type = "executable"
cpp_std = 20
sources = ["demos/demo_7.cpp"]
runtime_files = [{ source = "demos/sounds/chiptune3.ct", destination = "sounds/chiptune3.ct" }]
dependencies = ["8Beat"]
[target.demo_8]
type = "executable"
cpp_std = 20
sources = ["demos/demo_8.cpp"]
dependencies = ["8Beat"]
[target.demo_9]
type = "executable"
cpp_std = 20
sources = ["demos/demo_9.cpp"]
dependencies = ["8Beat"]
[build]
number = 5
[release]
bundle_name = "8beat"
# OpenAL publishing intentionally disabled because OpenAL-based release assets carry different licensing expectations.
# variants = [{ profile = "workflow-release", suffix = "openal" }, { profile = "applaudio-release", suffix = "applaudio" }]
variants = [{ profile = "applaudio-release", suffix = "applaudio" }]
readme = { linux = "demos/README_LINUX.md", macos = "demos/README_MACOS.md", windows = "demos/README_WINDOWS.md" }
build_number_format = "dotted"
[box]
# OpenAL publishing intentionally disabled because OpenAL-based release assets carry different licensing expectations.
# variants = [{ profile = "workflow-release", suffix = "openal" }, { profile = "applaudio-release", suffix = "applaudio" }]
variants = [{ profile = "applaudio-release", suffix = "applaudio" }]
[dependencies]
AudioLibSwitcher_OpenAL = { path = "../AudioLibSwitcher_OpenAL" }
Core = { path = "../Core" }
[profile.openal.dependencies]
AudioLibSwitcher_OpenAL = { path = "../AudioLibSwitcher_OpenAL" }
Core = { path = "../Core" }
[profile.applaudio.dependencies]
AudioLibSwitcher_applaudio = { path = "../AudioLibSwitcher_applaudio" }
Core = { path = "../Core" }
[profile.applaudio.build]
defines = ["USE_APPLAUDIO"]
[profile.workflow-release.dependencies]
AudioLibSwitcher_OpenAL = { github = "razterizer/AudioLibSwitcher_OpenAL", version = "1.0.0+build.12" }
Core = { github = "razterizer/Core", version = "1.5.0+build.8" }
[profile.workflow-release.build]
configuration = "Release"
[profile.applaudio-release.dependencies]
AudioLibSwitcher_applaudio = { github = "razterizer/AudioLibSwitcher_applaudio", version = "1.0.1+build.4" }
Core = { github = "razterizer/Core", version = "1.5.0+build.8" }
[profile.applaudio-release.build]
configuration = "Release"
defines = ["USE_APPLAUDIO"]
[profile.Debug.build]
configuration = "Debug"
defines = ["DEBUG=1"]
[profile.Release.build]
configuration = "Release"