ecs/flint.yaml

74 lines
1.3 KiB
YAML

git:
sol2:
url: https://github.com/ThePhD/sol2
revision: v3.2.0
stduuid:
url: https://github.com/mariusbancila/stduuid
io:
url: https://git.mtgames.nl/Dreaded_X/io
include:
- .build/git/io/flint.yaml
scripts:
components:
step: pre
command: python scripts/generate.py
targets:
sol2:
type: lib
git: sol2
auto: false
include:
- single/include/sol
link:
- lua
stduuid:
type: lib
git: stduuid
platform:
linux:
link:
- uuid
ecs:
type: lib
path: ecs
dependency:
- stduuid
ecs_serial:
type: lib
path: ecs-serial
dependency:
- ecs
- io
ecs-lua:
type: lib
path: ecs-lua
dependency:
- ecs
- sol2
optional:
- ecs_serial
test:
type: exe
path: test
include:
- ../.build/generated/test/components
dependency:
- ecs
- ecs-lua
- ecs_serial
script:
components:
in: test/include/components.h
out: ecs_components.h