43 lines
780 B
Plaintext
43 lines
780 B
Plaintext
name: ecs
|
|
gpid: malunal
|
|
semv: 1.0.0
|
|
|
|
options:
|
|
level: 2
|
|
|
|
requires:
|
|
- https://git.malunal.studio/sakura/std@v1.0.0
|
|
|
|
targets:
|
|
- name: malunal.ecs
|
|
type: library
|
|
root: ./ecs
|
|
deps:
|
|
- std.serial
|
|
- std.thread
|
|
- std.time
|
|
|
|
# Times `malunal::ecs` over a million entities; see its header.
|
|
- name: malunal.ecs.bench
|
|
type: program
|
|
level: ${level}
|
|
deps:
|
|
- malunal.ecs
|
|
- std.io
|
|
- std.time
|
|
srcs:
|
|
- tools/bench.sakura
|
|
|
|
tests:
|
|
- name: malunal.ecs.tests
|
|
type: program
|
|
deps: [malunal.ecs, std.json, std.serial, std.testing, std.thread]
|
|
srcs: [tests/main.sakura, tests/ecs.sakura]
|
|
|
|
exports:
|
|
- malunal.ecs
|
|
|
|
package:
|
|
desc: Entities, their components, and the systems passing over them, kept in tables by archetype.
|
|
auth: John Christman <sorakatadzuma@gmail.com>
|