1
0
Fork 0

bam: Define engine library as default target and add "examples" pseudo target.

This commit is contained in:
Henrik Hautakoski 2020-01-07 06:57:56 +01:00
parent e4c086a1eb
commit a19944437b
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
2 changed files with 5 additions and 1 deletions

View file

@ -213,5 +213,7 @@ libspectre = StaticLibrary(settings,
ft2_obj
)
DefaultTarget(libspectre)
-- Examples
Import("examples/build.lua")

View file

@ -22,6 +22,8 @@ end
-- we copy the whole assets directory.
assets = CopyDir(PathJoin(paths.build, paths.examples), "assets")
BuildExamples(example_settings, {
examples = BuildExamples(example_settings, {
"text"
}, assets)
PseudoTarget("examples", examples)