1
0
Fork 0
This commit is contained in:
Henrik Hautakoski 2022-09-26 22:25:53 +02:00
parent 99ae7f2236
commit 7d042fa5bd
5 changed files with 9406 additions and 0 deletions

24
tools/archive/bam.lua Normal file
View file

@ -0,0 +1,24 @@
Import(".bam/path.lua")
local settings = CopySettings(global_settings, "Tool - Archive")
settings.cc.includes:Add(
"vendor/CLI11/include",
"include/",
RelPath("./")
)
-- Link with spectre.
settings.link.extrafiles:Add(libspectre)
-- Compile object files.
local obj = Compile(settings, {
RelPath("Archive.cpp"),
RelPath("main.cpp")
})
-- Link to executable.
local exe = Link(settings, PathJoin(paths.tools, "archive"), obj)
PseudoTarget("tool.archive", exe)