70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
name: binary
|
|||
|
|
gpid: malunal
|
||
|
|
semv: 1.0.0
|
||
|
|
|
||
|
|
# Each library is one of its own, in the folder named for it, and reads only
|
||
|
|
# std. A project names among its deps only those it reads.
|
||
|
|
targets:
|
||
|
|
- name: binary.amd64
|
||
|
|
type: library
|
||
|
|
root: ./amd64
|
||
|
|
deps: [std]
|
||
|
|
|
||
|
|
- name: binary.elf
|
||
|
|
type: library
|
||
|
|
root: ./elf
|
||
|
|
deps: [std]
|
||
|
|
|
||
|
|
- name: binary.dwarf
|
||
|
|
type: library
|
||
|
|
root: ./dwarf
|
||
|
|
deps: [std]
|
||
|
|
|
||
|
|
- name: binary.pe
|
||
|
|
type: library
|
||
|
|
root: ./pe
|
||
|
|
deps: [std]
|
||
|
|
|
||
|
|
- name: binary.pdb
|
||
|
|
type: library
|
||
|
|
root: ./pdb
|
||
|
|
deps: [std]
|
||
|
|
|
||
|
|
# Each library's tests are a program of their own, reading only it.
|
||
|
|
tests:
|
||
|
|
- name: binary.amd64.tests
|
||
|
|
type: program
|
||
|
|
runs: machine
|
||
|
|
deps: [binary.amd64]
|
||
|
|
srcs: [tests/main.sakura, tests/amd64/*.sakura]
|
||
|
|
|
||
|
|
- name: binary.elf.tests
|
||
|
|
type: program
|
||
|
|
runs: machine
|
||
|
|
deps: [binary.elf]
|
||
|
|
srcs: [tests/main.sakura, tests/elf/*.sakura]
|
||
|
|
|
||
|
|
- name: binary.dwarf.tests
|
||
|
|
type: program
|
||
|
|
runs: machine
|
||
|
|
deps: [binary.dwarf]
|
||
|
|
srcs: [tests/main.sakura, tests/dwarf/*.sakura]
|
||
|
|
|
||
|
|
- name: binary.pe.tests
|
||
|
|
type: program
|
||
|
|
runs: machine
|
||
|
|
deps: [binary.pe]
|
||
|
|
srcs: [tests/main.sakura, tests/pe/*.sakura]
|
||
|
|
|
||
|
|
- name: binary.pdb.tests
|
||
|
|
type: program
|
||
|
|
runs: machine
|
||
|
|
deps: [binary.pdb]
|
||
|
|
srcs: [tests/main.sakura, tests/pdb/*.sakura]
|
||
|
|
|
||
|
|
exports:
|
||
|
|
- binary.amd64
|
||
|
|
- binary.elf
|
||
|
|
- binary.dwarf
|
||
|
|
- binary.pe
|
||
|
|
- binary.pdb
|