WIP
This commit is contained in:
parent
99ae7f2236
commit
7d042fa5bd
5 changed files with 9406 additions and 0 deletions
24
tools/archive/bam.lua
Normal file
24
tools/archive/bam.lua
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue