bam: Define engine library as default target and add "examples" pseudo target.
This commit is contained in:
parent
e4c086a1eb
commit
a19944437b
2 changed files with 5 additions and 1 deletions
2
bam.lua
2
bam.lua
|
|
@ -213,5 +213,7 @@ libspectre = StaticLibrary(settings,
|
||||||
ft2_obj
|
ft2_obj
|
||||||
)
|
)
|
||||||
|
|
||||||
|
DefaultTarget(libspectre)
|
||||||
|
|
||||||
-- Examples
|
-- Examples
|
||||||
Import("examples/build.lua")
|
Import("examples/build.lua")
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@ end
|
||||||
-- we copy the whole assets directory.
|
-- we copy the whole assets directory.
|
||||||
assets = CopyDir(PathJoin(paths.build, paths.examples), "assets")
|
assets = CopyDir(PathJoin(paths.build, paths.examples), "assets")
|
||||||
|
|
||||||
BuildExamples(example_settings, {
|
examples = BuildExamples(example_settings, {
|
||||||
"text"
|
"text"
|
||||||
}, assets)
|
}, assets)
|
||||||
|
|
||||||
|
PseudoTarget("examples", examples)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue